[dovecot-cvs] dovecot/src/lib file-dotlock.c,1.2,1.3 lib.c,1.7,1.8

cras at procontrol.fi cras at procontrol.fi
Fri Mar 21 08:47:08 EET 2003


Update of /home/cvs/dovecot/src/lib
In directory danu:/tmp/cvs-serv16165/lib

Modified Files:
	file-dotlock.c lib.c 
Log Message:
Call the hostpid_init() always at startup. Easier than doing it all around.



Index: file-dotlock.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/file-dotlock.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- file-dotlock.c	14 Feb 2003 12:56:32 -0000	1.2
+++ file-dotlock.c	21 Mar 2003 06:47:06 -0000	1.3
@@ -189,8 +189,6 @@
 	unsigned int stale_notify_threshold;
 	time_t now, max_wait_time, last_notify;
 
-	hostpid_init();
-
 	now = time(NULL);
 
 	lock_path = t_strconcat(path, ".lock", NULL);

Index: lib.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/lib.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- lib.c	18 Dec 2002 04:00:01 -0000	1.7
+++ lib.c	21 Mar 2003 06:47:06 -0000	1.8
@@ -46,6 +46,7 @@
 
 	data_stack_init();
 	imem_init();
+	hostpid_init();
 }
 
 void lib_deinit(void)




More information about the dovecot-cvs mailing list