1
0
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:
stskeeps
2001-05-26 19:27:14 +00:00
parent 886549cf13
commit bacf06d3eb
6 changed files with 9 additions and 8 deletions
+3
View File
@@ -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