mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 17:23:13 +02:00
+- Merged McSkaf's hostname patch, debug patch, s_misc patch
This commit is contained in:
@@ -183,10 +183,12 @@ void debug(int level, char *form, ...)
|
||||
(void)ircsprintf(debugbuf, form, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10);
|
||||
#else
|
||||
(void)ircvsprintf(debugbuf, form, vl);
|
||||
#if 0
|
||||
# ifdef _WIN32
|
||||
strcat(debugbuf,"\r\n");
|
||||
# endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
if (local[2])
|
||||
@@ -202,6 +204,7 @@ void debug(int level, char *form, ...)
|
||||
# ifndef _WIN32GUI
|
||||
Cio_Puts(hCio, debugbuf, strlen(debugbuf));
|
||||
# else
|
||||
strcat(debugbuf, "\r\n");
|
||||
OutputDebugString(debugbuf);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user