From: Stephan Bosch Date: Thu, 28 Aug 2025 03:40:09 +0000 (+0200) Subject: lib-auth-client: auth-master - Fix handling of parallel replies X-Git-Tag: 2.4.2~472 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44f0b1b8b194a4ffb741b8e847eedb70d70db0d1;p=thirdparty%2Fdovecot%2Fcore.git lib-auth-client: auth-master - Fix handling of parallel replies --- diff --git a/src/lib-auth-client/auth-master.c b/src/lib-auth-client/auth-master.c index b363dc87b3..56bedef9f9 100644 --- a/src/lib-auth-client/auth-master.c +++ b/src/lib-auth-client/auth-master.c @@ -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