Removed some debug loggin

This commit is contained in:
Michiel Broek 2005-11-19 20:22:40 +00:00
parent 660ac062e6
commit c453656ac2
6 changed files with 4 additions and 6 deletions

View File

@ -5,6 +5,7 @@ v0.83.2 16-Nov-2005
mbfido: mbfido:
Fixed crash when receiving bad tics. Fixed crash when receiving bad tics.
Reinstalled tic orphans and bad crc handling using new method. Reinstalled tic orphans and bad crc handling using new method.
Removed some debug logging.
v0.83.1 12-Nov-2005 - 16-Nov-2005 v0.83.1 12-Nov-2005 - 16-Nov-2005

View File

@ -169,7 +169,6 @@ int check_flo(faddr *node, char *filename, char flavor)
ticfile = calloc(PATH_MAX, sizeof(char)); ticfile = calloc(PATH_MAX, sizeof(char));
snprintf(flofile, PATH_MAX -1, "%s", floname(node, flavor)); snprintf(flofile, PATH_MAX -1, "%s", floname(node, flavor));
Syslog('p', "check_flo: %s", flofile);
if ((fp = fopen(flofile, "r+"))) { if ((fp = fopen(flofile, "r+"))) {
filepos = 0; filepos = 0;
while (fgets(buf, PATH_MAX +2, fp)) { while (fgets(buf, PATH_MAX +2, fp)) {

View File

@ -78,7 +78,7 @@ char *re_mask(char *nm, int forceupper)
} }
*q++ = '$'; *q++ = '$';
*q++ = '\0'; *q++ = '\0';
Syslog('f', "Search mask \"%s\" => \"%s\"", nm, mask); // Syslog('f', "Search mask \"%s\" => \"%s\"", nm, mask);
return mask; return mask;
} }

View File

@ -145,7 +145,7 @@ void ForwardFile(fidoaddr Node, fa_list *sbl)
CloseMail(net, Temp); CloseMail(net, Temp);
} }
} else { } else {
WriteError("$Can't create netmail"); WriteError("Can't create netmail");
} }
tidy_faddr(Temp); tidy_faddr(Temp);
} }
@ -277,7 +277,6 @@ void ForwardFile(fidoaddr Node, fa_list *sbl)
free(queuedir); free(queuedir);
free(listfile); free(listfile);
tidy_faddr(routeto); tidy_faddr(routeto);
Syslog('f', "forward done");
} }

View File

@ -614,7 +614,7 @@ int ProcessTic(fa_list **sbl, orphans **opl)
if ((strlen(tic.Banner)) && IsArchive) { if ((strlen(tic.Banner)) && IsArchive) {
cmd = xstrcpy(archiver.barc); cmd = xstrcpy(archiver.barc);
if ((cmd == NULL) || (!strlen(cmd))) { if ((cmd == NULL) || (!strlen(cmd))) {
Syslog('!', "No banner command for %s", archiver.name); Syslog('+', "No banner command for %s", archiver.name);
} else { } else {
snprintf(temp1, PATH_MAX, "%s/%s", TIC.Inbound, TIC.NewFile); snprintf(temp1, PATH_MAX, "%s/%s", TIC.Inbound, TIC.NewFile);
snprintf(Temp, PATH_MAX, "%s/etc/%s", getenv("MBSE_ROOT"), tic.Banner); snprintf(Temp, PATH_MAX, "%s/etc/%s", getenv("MBSE_ROOT"), tic.Banner);

View File

@ -508,7 +508,6 @@ int LoadTic(char *inb, char *tfn, orphans **opl)
TIC.Orphaned = TRUE; TIC.Orphaned = TRUE;
Syslog('+', "Can't find file in inbound, will check later"); Syslog('+', "Can't find file in inbound, will check later");
} else { } else {
Syslog('f', "Returned RealName %s", RealName);
/* /*
* If no LFN received in the ticfile and the file in the inbound is the same as the 8.3 name * If no LFN received in the ticfile and the file in the inbound is the same as the 8.3 name
* but only the case is different, then treat the real filename as LFN. * but only the case is different, then treat the real filename as LFN.