dovecot-2.1: lib-storage: Minor code cleanup.

dovecot at dovecot.org dovecot at dovecot.org
Wed Apr 4 11:08:37 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/f267a2b3f424
changeset: 14394:f267a2b3f424
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Apr 04 11:08:32 2012 +0300
description:
lib-storage: Minor code cleanup.

diffstat:

 src/lib-storage/mail-user.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 86e6dc46a80e -r f267a2b3f424 src/lib-storage/mail-user.c
--- a/src/lib-storage/mail-user.c	Wed Apr 04 11:07:05 2012 +0300
+++ b/src/lib-storage/mail-user.c	Wed Apr 04 11:08:32 2012 +0300
@@ -341,7 +341,7 @@
 {
 	const char *home, *path = *pathp;
 
-	if (mail_user_get_home(user, &home) < 0)
+	if (mail_user_get_home(user, &home) <= 0)
 		return -1;
 
 	path = home_expand_tilde(path, home);


More information about the dovecot-cvs mailing list