[dovecot-cvs] dovecot/src/lib failures.c,1.5,1.6
cras at procontrol.fi
cras at procontrol.fi
Sun Dec 1 17:48:49 EET 2002
Update of /home/cvs/dovecot/src/lib
In directory danu:/tmp/cvs-serv22749/lib
Modified Files:
failures.c
Log Message:
bugfix
Index: failures.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/failures.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- failures.c 1 Dec 2002 15:37:19 -0000 1.5
+++ failures.c 1 Dec 2002 15:48:46 -0000 1.6
@@ -212,7 +212,7 @@
void i_set_failure_file(const char *path, const char *prefix)
{
- if (log_fd != stderr)
+ if (log_fd != NULL && log_fd != stderr)
(void)fclose(log_fd);
log_fd = fopen(path, "a");
More information about the dovecot-cvs
mailing list