diff --git a/mbfido/announce.c b/mbfido/announce.c index 3ef95f84..4c18ae4f 100644 --- a/mbfido/announce.c +++ b/mbfido/announce.c @@ -162,6 +162,7 @@ void Uploads() int StartMsg(void); int StartMsg(void) { + Syslog('m', "StartMsg()"); if (!Msg_Open(newfiles.Area)) return -1; @@ -202,6 +203,8 @@ void FinishMsg(int Final, int filepos) char *temp; FILE *fp, *fi; + Syslog('m', "FinishMsg(%s, %d)", Final ? "TRUE":"FALSE", filepos); + temp = calloc(PATH_MAX, sizeof(char)); if (Final && ((fi = OpenMacro(newfiles.Template, newfiles.Language, FALSE)) != NULL)) { @@ -349,6 +352,7 @@ int Report(gr_list *ta, int filepos) */ if (Msg.Size > (CFG.new_split * 1024)) { MsgCount++; + Syslog('m', "Report() splitting report"); FinishMsg(FALSE, finalpos); StartMsg(); }