dovecot-2.2: auth: set_credentials callback being passed an enum...
dovecot at dovecot.org
dovecot at dovecot.org
Tue May 27 18:19:15 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/479d66a8e310
changeset: 17407:479d66a8e310
user: Phil Carmody <phil at dovecot.fi>
date: Tue May 27 21:17:34 2014 +0300
description:
auth: set_credentials callback being passed an enum, not a bool
This changes the behaviour, as the error case is now mapped onto FALSE.
All non-zero values of course get squashed into true. Found by sparse.
Signed-off-by: Phil Carmody <phil at dovecot.fi>
diffstat:
src/auth/auth-request.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 7cda826410f5 -r 479d66a8e310 src/auth/auth-request.c
--- a/src/auth/auth-request.c Tue May 27 21:17:34 2014 +0300
+++ b/src/auth/auth-request.c Tue May 27 21:17:34 2014 +0300
@@ -931,7 +931,7 @@
callback);
} else {
/* this passdb doesn't support credentials update */
- callback(PASSDB_RESULT_INTERNAL_FAILURE, request);
+ callback(FALSE, request);
}
}
More information about the dovecot-cvs
mailing list