From: Timo Sirainen Date: Wed, 30 Jan 2013 20:19:13 +0000 (+0200) Subject: auth: Auth requests' flag fields were never passed to worker processes. X-Git-Tag: 2.2.beta2~161 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83d2e37f065eabe38dc92db485c5ca39ee43ce05;p=thirdparty%2Fdovecot%2Fcore.git auth: Auth requests' flag fields were never passed to worker processes. --- diff --git a/src/auth/auth-worker-client.c b/src/auth/auth-worker-client.c index 57b62ef58b..2f031065b2 100644 --- a/src/auth/auth-worker-client.c +++ b/src/auth/auth-worker-client.c @@ -89,7 +89,9 @@ worker_auth_request_new(struct auth_worker_client *client, unsigned int id, 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); }