dovecot-2.2: auth: Auth requests' flag fields were never passed ...

dovecot at dovecot.org dovecot at dovecot.org
Wed Jan 30 22:19:19 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/105c40084c5c
changeset: 15689:105c40084c5c
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jan 30 22:19:13 2013 +0200
description:
auth: Auth requests' flag fields were never passed to worker processes.

diffstat:

 src/auth/auth-worker-client.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r cf63624b2566 -r 105c40084c5c src/auth/auth-worker-client.c
--- a/src/auth/auth-worker-client.c	Wed Jan 30 22:18:09 2013 +0200
+++ b/src/auth/auth-worker-client.c	Wed Jan 30 22:19:13 2013 +0200
@@ -89,7 +89,9 @@
 
 	for (; *args != NULL; args++) {
 		value = strchr(*args, '=');
-		if (value != NULL) {
+		if (value == NULL)
+			(void)auth_request_import(auth_request, *args, NULL);
+		else {
 			key = t_strdup_until(*args, value++);
 			(void)auth_request_import(auth_request, key, value);
 		}


More information about the dovecot-cvs mailing list