From 4e57f11ac87fce34693cfc2f0d7b094d26691b1f Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 13 Apr 2002 13:46:39 +0000 Subject: [PATCH] Fixed some logging, more clear now --- ChangeLog | 5 ++--- mbfido/forward.c | 4 ++-- mbfido/sendmail.c | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 31f7b203..5e82478b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4747,14 +4747,13 @@ v0.33.20 10-Feb-2002 mbcico: Fixed binkp driver to accept incoming unprotected sessions. - Temporary added extra password handling logs. If a binkp session comes in and there already is a session with that node, mbcico stopts the binkp session with an error. Remove some obsolete code that is handled by mbtask. Added some debug logmessages in ttyio. - Disabled creation of .spl files dusing mail sessions for test. Added experimental support for binkp GET command frame, under - test now. + test now, seems to work, although the offset request is not + supported. Registers TCP/IP sessions with mbtask. All filetransfer times and cps rates are calculated in mSecs. Splitted no TCP settings in no IBN, no IFC and no ITN. diff --git a/mbfido/forward.c b/mbfido/forward.c index d6840fff..35a60318 100644 --- a/mbfido/forward.c +++ b/mbfido/forward.c @@ -56,10 +56,10 @@ void ForwardFile(fidoaddr Node, fa_list *sbl) time_t now; fa_list *tmp; - Syslog('+', "Forward file to %s", aka2str(Node)); + Syslog('+', "Forward file to %s, %s netmail", aka2str(Node), nodes.Message?"with":"whithout"); if (!SearchNode(Node)) { - WriteError("Database corrupt, node %s not in setup", aka2str(Node)); + WriteError("TIC forward in %s, node %s not in setup but defined in area setup", TIC.TicIn.Area, aka2str(Node)); return; } diff --git a/mbfido/sendmail.c b/mbfido/sendmail.c index dc067e1e..477d2eee 100644 --- a/mbfido/sendmail.c +++ b/mbfido/sendmail.c @@ -74,11 +74,11 @@ FILE *SendMgrMail(faddr *t, int Keep, int FileAttach, char *bymgr, char *subj, c sprintf(Dest.domain, "%s", t->domain); if (!SearchNode(Dest)) { - Syslog('m', "Can't find node %s", aka2str(Dest)); + Syslog('!', "SendMgrMail(): Can't find node %s", aka2str(Dest)); return NULL; } - Syslog('-', " Netmail from %s to %s", aka2str(Orig), ascfnode(t, 0x1f)); + Syslog('m', " Netmail from %s to %s", aka2str(Orig), ascfnode(t, 0x1f)); Now = time(NULL) - (gmt_offset((time_t)0) * 60); flags |= (nodes.Crash) ? M_CRASH : 0;