Browse Source

* f2b_logfile_rotated() : check 'opened' flag

master
Alex 'AdUser' Z 8 years ago
parent
commit
a28c95579f
  1. 3
      src/logfile.c

3
src/logfile.c

@ -55,6 +55,9 @@ f2b_logfile_rotated(const f2b_logfile_t *file) {
assert(file != NULL);
if (!file->opened)
return true;
if (stat(file->path, &st) != 0)
return true;

Loading…
Cancel
Save