mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-30 23:06:39 +02:00
Win32 changes
This commit is contained in:
@@ -435,3 +435,5 @@
|
||||
- Changed some non-error messages in newconf from config_status to config_progress
|
||||
- Added a way for newconf to report its errors in windows using a "Config Error" dialog
|
||||
- Fixed the /stats Z bug reported by RaYmAn
|
||||
- Added missing resource.h defineand missing +1 in MyMalloc of win_log reported by McSkaf
|
||||
Seemed to work without the +1 but added it just to be safe.
|
||||
|
||||
@@ -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