Skip to content

Commit 2eb90ce

Browse files
yairgottmadolson
andauthored
Update src/networking.c
Co-authored-by: Madelyn Olson <[email protected]> Signed-off-by: Yair Gottdenker <[email protected]>
1 parent 0dccca7 commit 2eb90ce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/networking.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,7 @@ int prepareClientToWrite(client *c) {
326326

327327
/* Schedule the client to write the output buffers to the socket, unless
328328
* it should already be setup to do so (it has already pending data). */
329-
if (!clientHasPendingReplies(c)) {
330-
putClientInPendingWriteQueue(c);
331-
}
329+
if (!clientHasPendingReplies(c)) putClientInPendingWriteQueue(c);
332330

333331
/* Authorize the caller to queue in the output buffer of this client. */
334332
return C_OK;

0 commit comments

Comments
 (0)