Skip to content

Commit

Permalink
Update src/networking.c
Browse files Browse the repository at this point in the history
Co-authored-by: Madelyn Olson <[email protected]>
Signed-off-by: Yair Gottdenker <[email protected]>
  • Loading branch information
yairgott and madolson authored Mar 7, 2025
1 parent 0dccca7 commit 2eb90ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/networking.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2eb90ce

Please sign in to comment.