]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: lmtp-proxy - Rename variable "ret" to "result" in lmtp_proxy_rcpt_redirect_relo...
authorStephan Bosch <stephan.bosch@open-xchange.com>
Tue, 24 Mar 2026 21:47:13 +0000 (22:47 +0100)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Mon, 6 Apr 2026 17:25:10 +0000 (17:25 +0000)
src/lmtp/lmtp-proxy.c

index de0abfac2f58c0a3724fd3ddd8e7bdc7dad39c82..c31b0497a421ce8da8de136250089533a1fe821c 100644 (file)
@@ -666,7 +666,7 @@ lmtp_proxy_rcpt_redirect_relookup(struct lmtp_proxy_recipient *lprcpt,
        struct auth_user_info info;
        const char *const *fields, *errstr, *username;
        pool_t auth_pool;
-       int ret;
+       int result, ret;
 
        lmtp_proxy_rcpt_init_auth_user_info(lrcpt, &info);
 
@@ -687,10 +687,10 @@ lmtp_proxy_rcpt_redirect_relookup(struct lmtp_proxy_recipient *lprcpt,
        // FIXME: make this async
        auth_pool = pool_alloconly_create("auth lookup", 1024);
        auth_conn = mail_storage_service_get_auth_conn(storage_service);
-       ret = auth_master_pass_lookup(auth_conn, lrcpt->username, &info,
-                                     auth_pool, &fields);
-       if (ret <= 0) {
-               if (ret == 0 || fields[0] == NULL)
+       result = auth_master_pass_lookup(auth_conn, lrcpt->username, &info,
+                                        auth_pool, &fields);
+       if (result <= 0) {
+               if (result == 0 || fields[0] == NULL)
                        errstr = "Redirect lookup unexpectedly failed";
                else {
                        errstr = t_strdup_printf(