[dovecot-cvs] dovecot/src/master main.c,1.54,1.55
cras at dovecot.org
cras at dovecot.org
Thu Sep 2 20:03:37 EEST 2004
Update of /home/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv6176
Modified Files:
main.c
Log Message:
crashfix in pid generation
Index: main.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/main.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- main.c 31 Aug 2004 15:46:14 -0000 1.54
+++ main.c 2 Sep 2004 17:03:35 -0000 1.55
@@ -420,7 +420,7 @@
const char *pid;
int fd;
- pid = t_strconcat(dec2str(getpid()), "\n");
+ pid = t_strconcat(dec2str(getpid()), "\n", NULL);
fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, 0644);
if (fd == -1)
More information about the dovecot-cvs
mailing list