X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fsysdep.c;fp=citadel%2Fsysdep.c;h=787a93a3df8eae8cb16b3ab76232e1af009f8fea;hp=19e5eb5ce7a5df1f1b219a801b270426b14e4325;hb=5a307b0a88035de98ff16efc347994c82bdab8a9;hpb=30ad8940ba800c133c0b1cb66973aaacbf68fe5d diff --git a/citadel/sysdep.c b/citadel/sysdep.c index 19e5eb5ce..787a93a3d 100644 --- a/citadel/sysdep.c +++ b/citadel/sysdep.c @@ -1100,7 +1100,8 @@ void checkcrash(void) if (nFireUpsNonRestart != nFireUps) { StrBuf *CrashMail; - + const char *msgs[1] = {"crash"}; + const long lens[1] = {sizeof("crash") - 1}; CrashMail = NewStrBuf(); syslog(LOG_ALERT, "Posting crash message\n"); StrBufPrintf(CrashMail, @@ -1117,7 +1118,11 @@ void checkcrash(void) " If you have already done this, the core dump is likely to be found at %score.%d\n" , ctdl_run_dir, ForkedPid); - CtdlAideMessage(ChrPtr(CrashMail), "Citadel server process terminated unexpectedly"); + CtdlAideFPMessage(ChrPtr(CrashMail), + "Citadel server process terminated unexpectedly", + 1, msgs, lens, + 0, 0, + time(NULL)); FreeStrBuf(&CrashMail); } }