summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2019-04-10 18:53:27 +0200
committerantirez <antirez@gmail.com>2019-04-10 18:53:35 +0200
commit9e67691ffb4709535b56a089a973c3f89bfbe231 (patch)
treedec81dfcc0bbafd62dc38726da280a40c1db37a2
parent6de5d25062ef884beb6f9425b86dbc2b81e733fe (diff)
downloadredis-9e67691ffb4709535b56a089a973c3f89bfbe231.tar.gz
Aesthetic change to #5962 to conform to Redis style.
-rw-r--r--src/module.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/module.c b/src/module.c
index 0c8197ac7..1e7c0eca3 100644
--- a/src/module.c
+++ b/src/module.c
@@ -3746,9 +3746,7 @@ void moduleHandleBlockedClients(void) {
* replies to send to the client in a thread safe context.
* We need to glue such replies to the client output buffer and
* free the temporary client we just used for the replies. */
- if (c) {
- AddReplyFromClient(c, bc->reply_client);
- }
+ if (c) AddReplyFromClient(c, bc->reply_client);
freeClient(bc->reply_client);
if (c != NULL) {