X-Git-Url: https://git.hcoop.net/hcoop/debian/courier-authlib.git/blobdiff_plain/d50284c4aa46bdb558ab92276d4e3ebd856fe9a6..0e333c05cada796fa75ceebdfc4b3e20d48f87ec:/authuserdbpwd.c diff --git a/authuserdbpwd.c b/authuserdbpwd.c index db445c0..3a5be7b 100644 --- a/authuserdbpwd.c +++ b/authuserdbpwd.c @@ -99,7 +99,7 @@ int auth_userdb_passwd(const char *service, errno=EPERM; DPRINTF("userdb: Invalid service or password string for %s.\n", uid); - return (1); + return (-1); } rc=try_auth_userdb_passwd(NULL, service, uid, opwd_buf, npwd_buf);