2003-02-23 Pierre Humblet <pierre.humblet@ieee.org>
* syslog.cc (syslog): Do not unlock the file before closing it and remove debug_printf about stream errors.
This commit is contained in:
@ -406,9 +406,6 @@ syslog (int priority, const char *message, ...)
|
||||
fputs (timestamp, fp);
|
||||
fputs (msg_strings[0], fp);
|
||||
fputc ('\n', fp);
|
||||
UnlockFile (fHandle, 0, 0, 1, 0);
|
||||
if (ferror (fp))
|
||||
debug_printf ("error in writing syslog");
|
||||
fclose (fp);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user