From 2eb90ce0ee679bc7950cd5d179ae415df2314d56 Mon Sep 17 00:00:00 2001 From: Yair Gottdenker Date: Fri, 7 Mar 2025 15:34:20 -0800 Subject: [PATCH] Update src/networking.c Co-authored-by: Madelyn Olson Signed-off-by: Yair Gottdenker --- src/networking.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/networking.c b/src/networking.c index 26b256940f..7ee4debd65 100644 --- a/src/networking.c +++ b/src/networking.c @@ -326,9 +326,7 @@ int prepareClientToWrite(client *c) { /* Schedule the client to write the output buffers to the socket, unless * it should already be setup to do so (it has already pending data). */ - if (!clientHasPendingReplies(c)) { - putClientInPendingWriteQueue(c); - } + if (!clientHasPendingReplies(c)) putClientInPendingWriteQueue(c); /* Authorize the caller to queue in the output buffer of this client. */ return C_OK;