[dovecot-cvs] dovecot/src/lib-index mail-index-util.c,1.23,1.24

cras at procontrol.fi cras at procontrol.fi
Mon May 26 17:20:28 EEST 2003


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

Modified Files:
	mail-index-util.c 
Log Message:
more verbose error message for "lock timeout"



Index: mail-index-util.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index-util.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- mail-index-util.c	30 Mar 2003 12:48:37 -0000	1.23
+++ mail-index-util.c	26 May 2003 13:20:25 -0000	1.24
@@ -142,7 +142,8 @@
 
 	if (ret == 0) {
 		index_set_error(index, "Timeout while waiting for release of "
-				"fcntl() lock for index file %s",
+				"%s fcntl() lock for index file %s",
+				lock_type == F_WRLCK ? "exclusive" : "shared",
 				index->filepath);
 		index->index_lock_timeout = TRUE;
 		return FALSE;



More information about the dovecot-cvs mailing list