From ed3b1fcbe78d04187effa62ec74fd8819b5748cf Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Fri, 12 Aug 2005 14:20:33 +0000 Subject: [PATCH] Adde debug logging --- ChangeLog | 4 ++++ mbfido/forward.c | 1 + mbfido/ptic.c | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index db7883ef..d50484e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,10 @@ $Id$ v0.71.4 12-Aug-2005 + mbfido: + Added extra debug logging to trace an SIGSEG when forwarding + files. + v0.71.3 13-Jun-2005 - 12-Aug-2005 diff --git a/mbfido/forward.c b/mbfido/forward.c index 07668343..55a05a68 100644 --- a/mbfido/forward.c +++ b/mbfido/forward.c @@ -276,6 +276,7 @@ void ForwardFile(fidoaddr Node, fa_list *sbl) free(queuedir); free(listfile); tidy_faddr(routeto); + Syslog('f', "forward done"); } diff --git a/mbfido/ptic.c b/mbfido/ptic.c index 29a7d42d..102d5edf 100644 --- a/mbfido/ptic.c +++ b/mbfido/ptic.c @@ -735,16 +735,20 @@ int ProcessTic(fa_list *sbl) } } + Syslog('f', "ProcessTic: post processing start"); + Magic_ExecCommand(); Magic_CopyFile(); Magic_UnpackFile(); Magic_AdoptFile(); + sprintf(Temp, "%s/%s", TIC.Inbound, TIC.TicName); unlink(Temp); free(Temp); tidy_qualify(&qal); + Syslog('f', "ProcessTic: post processing end"); return 0; }