]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveadm: Proxying fix
authorTimo Sirainen <tss@iki.fi>
Mon, 29 Aug 2011 04:04:49 +0000 (07:04 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 29 Aug 2011 04:04:49 +0000 (07:04 +0300)
src/doveadm/doveadm-mail-server.c

index 843b54d76354b07efef131827401b7697ab599fa..873adfbea3faff8aad7a771732c85ad3d6e3d10d 100644 (file)
@@ -179,7 +179,7 @@ doveadm_mail_server_user_get_host(struct doveadm_mail_cmd_context *ctx,
                /* user not found from passdb. it could be in userdb though,
                   so just continue with the default host */
        } else {
-               proxy_host = NULL;
+               proxy_host = NULL; proxying = FALSE;
                for (i = 0; fields[i] != NULL; i++) {
                        if (strncmp(fields[i], "proxy", 5) == 0 &&
                            (fields[i][5] == '\0' || fields[i][5] == '='))