diff --git a/ChangeLog b/ChangeLog index 5e910f1f..9ef33792 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ v0.83.6 17-Dec-2005 mbfido: Removed gated SB debug logmessages. + Removed debug messages for obsolete ticfiles. mbfile: Fixed a crash when files.bbs had empty lines. diff --git a/mbfido/ptic.c b/mbfido/ptic.c index c9601594..477b00b3 100644 --- a/mbfido/ptic.c +++ b/mbfido/ptic.c @@ -572,19 +572,20 @@ int ProcessTic(fa_list **sbl, orphans **opl) } /* not get FILE_ID.DIZ */ /* - * Now check if other (older) ticfiles point to this file + * Now check if other (older) ticfiles point to this file, + * if found mark it to purge later. */ - First = TRUE; +// First = TRUE; for (topl = *opl; topl; topl = topl->next) { - if (First) { - Syslog('f', "TIC file TIC area Filename ORP CRC DEL"); - Syslog('f', "------------ -------------------- ------------ --- --- ---"); - First = FALSE; - } - Syslog('f', "%-12s %-20s %-12s %s %s %s", topl->TicName, topl->Area, topl->FileName, - topl->Orphaned ? "Yes" : "No ", topl->BadCRC ? "Yes" : "No ", topl->Purged ? "Yes":"No "); +// if (First) { +// Syslog('f', "TIC file TIC area Filename ORP CRC DEL"); +// Syslog('f', "------------ -------------------- ------------ --- --- ---"); +// First = FALSE; +// } +// Syslog('f', "%-12s %-20s %-12s %s %s %s", topl->TicName, topl->Area, topl->FileName, +// topl->Orphaned ? "Yes" : "No ", topl->BadCRC ? "Yes" : "No ", topl->Purged ? "Yes":"No "); if ((strcmp(topl->Area, TIC.TicIn.Area) == 0) && (strcmp(topl->FileName, TIC.TicIn.File) == 0)) { - Syslog('f', "Found matching tic file %s, mark to purge this one", topl->TicName); +// Syslog('f', "Found matching obsolete tic file %s, mark to purge this one", topl->TicName); topl->Purged = TRUE; } }