mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 16:53:12 +02:00
Win32 changes
This commit is contained in:
@@ -842,12 +842,12 @@ void win_log(char *format, ...) {
|
||||
ircvsprintf(buf, format, ap);
|
||||
strcat(buf, "\r\n");
|
||||
if (errors) {
|
||||
buf2 = MyMalloc(strlen(errors)+strlen(buf));
|
||||
buf2 = MyMalloc(strlen(errors)+strlen(buf)+1);
|
||||
sprintf(buf2, "%s%s",errors,buf);
|
||||
MyFree(errors);
|
||||
}
|
||||
else {
|
||||
buf2 = MyMalloc(strlen(buf));
|
||||
buf2 = MyMalloc(strlen(buf)+1);
|
||||
sprintf(buf2, "%s",buf);
|
||||
}
|
||||
errors = buf2;
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#define IDC_LSERVERS 1123
|
||||
#define IDC_LMAXCLIENTS 1124
|
||||
#define IDC_UPTIME 1125
|
||||
#define IDC_CONFIGERROR 1126
|
||||
#define IDM_CREDITS 40027
|
||||
#define IDM_DAL 40028
|
||||
#define IDM_LICENSE 40029
|
||||
|
||||
Reference in New Issue
Block a user