Removed warning, changed some logging

This commit is contained in:
Michiel Broek
2002-11-30 13:07:47 +00:00
parent 71a8073bd6
commit 71eb44aab6
3 changed files with 13 additions and 9 deletions

View File

@@ -713,7 +713,7 @@ int ProcessTic(fa_list *sbl)
*/
if (tic.FileArea) {
Syslog('+', "Import: %s Area: %s", TIC.NewFile, TIC.TicIn.Area);
Syslog('+', "Import: %s (%s) Area: %s", TIC.NewFile, TIC.NewFullName, TIC.TicIn.Area);
BBS_Imp = Add_BBS();
if (!BBS_Imp) {

View File

@@ -475,7 +475,7 @@ int LoadTic(char *inb, char *tfn)
WriteError("Can't find file in inbound");
} else {
Syslog('f', "Real filename in inbound is \"%s\"", RealName);
Syslog('f', "8.3 name \"%s\", LFN \"%s\"", TIC.TicIn.File, TIC.TicIn.FullName);
Syslog('+', "8.3 name \"%s\", LFN \"%s\"", TIC.TicIn.File, TIC.TicIn.FullName);
if (strcmp(RealName, TIC.TicIn.File)) {
/*
* File in inbound has not the same name as the name on disk.
@@ -487,7 +487,7 @@ int LoadTic(char *inb, char *tfn)
if (rename(Temp, Temp2))
WriteError("$Can't rename %s to %s", Temp, Temp2);
else
Syslog('f', "Renamed %s to %s", Temp, Temp2);
Syslog('+', "Renamed %s to %s", Temp, Temp2);
}
}
strncpy(TIC.NewFile, TIC.TicIn.File, 80);