]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Auth requests' flag fields were never passed to worker processes.
authorTimo Sirainen <tss@iki.fi>
Wed, 30 Jan 2013 20:19:13 +0000 (22:19 +0200)
committerTimo Sirainen <tss@iki.fi>
Wed, 30 Jan 2013 20:19:13 +0000 (22:19 +0200)
src/auth/auth-worker-client.c

index 57b62ef58b5216b986906d7203dccd3ef05f4a3c..2f031065b290513ee6f9fdee297d1b1aba8322cf 100644 (file)
@@ -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);
                }