Removed some debug logging

This commit is contained in:
Michiel Broek 2002-08-07 19:45:57 +00:00
parent 445582946a
commit 92429f47fe
4 changed files with 1 additions and 8 deletions

View File

@ -1,6 +1,5 @@
$Id$ $Id$
WARNING, OUTBOUND QUEUE MAY NOT WORK WITH THIS VERSION, BE CAREFULL !!
MBSEBBS History. MBSEBBS History.
@ -42,6 +41,7 @@ v0.35.03 06-Jul-2002
Implemented directory inbound tossing and outbound queueing. Implemented directory inbound tossing and outbound queueing.
Rewrote the outbound queue system, the queue now works for Rewrote the outbound queue system, the queue now works for
files also. files also.
Removed debug logline with extract of FILE_ID.DIZ.
newuser: newuser:
Check for Unix accounts is now case sensitive. Check for Unix accounts is now case sensitive.

View File

@ -113,7 +113,6 @@ FILE *CreatePkt(char *Queue, fidoaddr Orig, fidoaddr Dest, char *Extension)
WriteError("$Can't create Queue %s", Queue); WriteError("$Can't create Queue %s", Queue);
return NULL; return NULL;
} }
Syslog('p', "CreatePkt(%s, %s, %s)", Queue, aka2str(Dest), Extension);
/* /*
* Write .PKT header, see FSC-0039 rev. 4 * Write .PKT header, see FSC-0039 rev. 4
@ -192,7 +191,6 @@ FILE *OpenPkt(fidoaddr Orig, fidoaddr Dest, char *Extension)
sprintf(Queue, "%s/%d.%d.%d.%d/mailpkt.%s", CFG.out_queue, Dest.zone, Dest.net, Dest.node, Dest.point, Extension); sprintf(Queue, "%s/%d.%d.%d.%d/mailpkt.%s", CFG.out_queue, Dest.zone, Dest.net, Dest.node, Dest.point, Extension);
mkdirs(Queue, 0750); mkdirs(Queue, 0750);
Syslog('p', "OpenPkt(%s, %s)", aka2str(Dest), Extension);
if (file_exist(Queue, R_OK)) if (file_exist(Queue, R_OK))
qp = CreatePkt(Queue, Orig, Dest, Extension); qp = CreatePkt(Queue, Orig, Dest, Extension);

View File

@ -77,7 +77,6 @@ void flush_dir(char *ndir)
free(temp); free(temp);
return; return;
} }
Syslog('p', "Processing outbound queue %s", temp);
/* /*
* Get the nodenumber from the filename * Get the nodenumber from the filename
@ -380,7 +379,6 @@ void flush_dir(char *ndir)
if (Attach && nodes.Session_out == S_DIRECT) if (Attach && nodes.Session_out == S_DIRECT)
attach(noden, arcfile, TFS, flavor); attach(noden, arcfile, TFS, flavor);
} }
Syslog('p', "Done with ARCmail");
/* /*
* Open directory again. * Open directory again.
@ -489,7 +487,6 @@ void flush_dir(char *ndir)
if (nodes.Session_out == S_DIR) if (nodes.Session_out == S_DIR)
chmod(arcfile, 0660); chmod(arcfile, 0660);
} }
Syslog('p', "Done with netmail");
/* /*
* Now add the files for the node, information is in the .filelist * Now add the files for the node, information is in the .filelist
@ -509,7 +506,6 @@ void flush_dir(char *ndir)
while (fgets(buf, PATH_MAX, fp)) { while (fgets(buf, PATH_MAX, fp)) {
Striplf(buf); Striplf(buf);
Syslog('p', "File: %s", buf);
flavor = buf[0]; flavor = buf[0];
p = strchr(buf, ' '); p = strchr(buf, ' ');
p++; p++;

View File

@ -229,7 +229,6 @@ int Get_File_Id()
while (j && isspace(TIC.File_Id[TIC.File_Id_Ct][j-1])) while (j && isspace(TIC.File_Id[TIC.File_Id_Ct][j-1]))
j--; j--;
TIC.File_Id[TIC.File_Id_Ct][j] = '\0'; TIC.File_Id[TIC.File_Id_Ct][j] = '\0';
Syslog('f', "%2d/%2d: \"%s\"", TIC.File_Id_Ct, j, TIC.File_Id[TIC.File_Id_Ct]);
TIC.File_Id_Ct++; TIC.File_Id_Ct++;
} }
} }