From 44f0b1b8b194a4ffb741b8e847eedb70d70db0d1 Mon Sep 17 00:00:00 2001 From: Stephan Bosch Date: Thu, 28 Aug 2025 05:40:09 +0200 Subject: [PATCH] lib-auth-client: auth-master - Fix handling of parallel replies --- src/lib-auth-client/auth-master.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 -- 2.47.3