]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Minor code cleanup.
authorTimo Sirainen <tss@iki.fi>
Wed, 4 Apr 2012 08:08:32 +0000 (11:08 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 4 Apr 2012 08:08:32 +0000 (11:08 +0300)
src/lib-storage/mail-user.c

index 1f8049bb0a6a576eadb5b076c70550d494b6c50b..f4ff3b4e26a495b94f0fde4e2db583f89c55cebe 100644 (file)
@@ -341,7 +341,7 @@ int mail_user_try_home_expand(struct mail_user *user, const char **pathp)
 {
        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);