Fixed some logging, more clear now

This commit is contained in:
Michiel Broek
2002-04-13 13:46:39 +00:00
parent 5c0ab3b37c
commit 4e57f11ac8
3 changed files with 6 additions and 7 deletions

View File

@@ -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;
}

View File

@@ -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;