]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-auth-client: auth-master - Fix handling of parallel replies
authorStephan Bosch <stephan.bosch@open-xchange.com>
Thu, 28 Aug 2025 03:40:09 +0000 (05:40 +0200)
committerStephan Bosch <stephan.bosch@open-xchange.com>
Thu, 28 Aug 2025 11:18:32 +0000 (13:18 +0200)
src/lib-auth-client/auth-master.c

index b363dc87b3dc2369779a7a8a9e16cb54c11b1ecb..56bedef9f91f7cb912fdf9fd2184788c37abf5b5 100644 (file)
@@ -367,10 +367,7 @@ auth_master_input_args(struct connection *_conn, const char *const *args)
                auth_master_disconnect(conn);
                return -1;
        }
-       /* The continue/stop return 0/1 semantics for auth_master_handle_input()
-          (and the reply callback) are inverted when compared to the connection
-          API, so we need to return 0 for ret > 0 and 1 for ret == 0. */
-       return (ret > 0 ? 0 : 1);
+       return 1;
 }
 
 static void