diff options
author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-07-20 07:32:24 +0000 |
---|---|---|
committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-07-20 07:32:24 +0000 |
commit | 0d31274e1eab9994b770c2d327455efb14f11cd1 (patch) | |
tree | ec83c1bce7f313b448dd825305edf3fb6937e548 /src/main.c | |
parent | 5299cbf7382c9d0e14181e7f1e6c1c5c5fd285ac (diff) |
BUILD : 1.7.14 (1094) BUGS : 530 NOTES : Applied marks botserv bold striping patch
git-svn-id: svn://svn.anope.org/anope/trunk@1094 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@818 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 40 |
1 files changed, 24 insertions, 16 deletions
diff --git a/src/main.c b/src/main.c index 524bf3a88..a5d18059b 100644 --- a/src/main.c +++ b/src/main.c @@ -398,12 +398,14 @@ void sighandler(int signum) case -18: snprintf(buf, sizeof(buf), "saving %s", ExceptionDBName); break; - case -19:
- snprintf(buf, sizeof(buf), "Sending event %s %s", EVENT_DB_SAVING, EVENT_START);
- break;
- case -20:
- snprintf(buf, sizeof(buf), "Sending event %s %s", EVENT_DB_SAVING, EVENT_STOP);
- break; + case -19: +
snprintf(buf, sizeof(buf), "Sending event %s %s", + EVENT_DB_SAVING, EVENT_START); +
break; +
case -20: +
snprintf(buf, sizeof(buf), "Sending event %s %s", + EVENT_DB_SAVING, EVENT_STOP); +
break; case -21: snprintf(buf, sizeof(buf), "expiring nicknames"); break; @@ -422,15 +424,17 @@ void sighandler(int signum) case -28: snprintf(buf, sizeof(buf), "expiring SQLINEs"); break; - case -29:
- snprintf(buf, sizeof(buf), "expiring Exceptions");
- break;
- case -30:
- snprintf(buf, sizeof(buf), "Sending event %s %s", EVENT_DB_EXPIRE, EVENT_START);
- break;
- case -31:
- snprintf(buf, sizeof(buf), "Sending event %s %s", EVENT_DB_EXPIRE, EVENT_STOP);
- break; + case -29: +
snprintf(buf, sizeof(buf), "expiring Exceptions"); +
break; +
case -30: +
snprintf(buf, sizeof(buf), "Sending event %s %s", + EVENT_DB_EXPIRE, EVENT_START); +
break; +
case -31: +
snprintf(buf, sizeof(buf), "Sending event %s %s", + EVENT_DB_EXPIRE, EVENT_STOP); +
break; default: snprintf(buf, sizeof(buf), "waiting=%d", waiting); } @@ -669,6 +673,10 @@ void do_backtrace(int show_segheader) alog("Backtrace: not available on this platform"); #endif #else - char *winver;
winver = GetWindowsVersion();
alog("Backtrace: not available on Windows");
alog("Running %S", winver);
free(winver); + char *winver; +
winver = GetWindowsVersion(); +
alog("Backtrace: not available on Windows"); +
alog("Running %S", winver); +
free(winver); #endif } |