[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-storage.c, 1.134, 1.135

cras at dovecot.org cras at dovecot.org
Tue Jan 17 16:04:04 EET 2006


Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv17366/lib-storage/index/mbox

Modified Files:
	mbox-storage.c 
Log Message:
Error handling / compiler warning fix



Index: mbox-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-storage.c,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -d -r1.134 -r1.135
--- mbox-storage.c	14 Jan 2006 18:47:52 -0000	1.134
+++ mbox-storage.c	17 Jan 2006 14:04:01 -0000	1.135
@@ -768,7 +768,7 @@
 
 		if (index_dir != NULL && rmdir(index_dir) < 0 &&
 		    !ENOTFOUND(errno) && errno != ENOTEMPTY) {
-			if (!mbox_handle_errors(storage) < 0) {
+			if (!mbox_handle_errors(storage)) {
 				mail_storage_set_critical(_storage,
 					"rmdir() failed for %s: %m", index_dir);
 				return -1;



More information about the dovecot-cvs mailing list