updates.
[silc.git] / lib / silcutil / silclog.c
index bb26deceacfd3205ba2f647b9fd8a61aa5daed04..15c64884fec45277afd572fdf4fc32909f6f6070 100644 (file)
@@ -97,8 +97,7 @@ void silc_log_output(const char *filename, uint32 maxsize,
 
   if (!filename)
     fp = stderr;
-
-  if (filename) {
+  else {
     /* Purge the log file if the max size is defined. */
     if (maxsize) {
       fp = fopen(filename, "r");