From 2bf8c2c1300da1909cc8c8c35d13e46bcf59aa31 Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 28 Sep 2017 23:15:34 +0200 Subject: [PATCH] Limit statement in RM_BlockClient() to 80 cols. --- src/module.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/module.c b/src/module.c index ae76ae61..afeb6e2c 100644 --- a/src/module.c +++ b/src/module.c @@ -3407,8 +3407,8 @@ RedisModuleBlockedClient *RM_BlockClient(RedisModuleCtx *ctx, RedisModuleCmdFunc RedisModuleBlockedClient *bc = c->bpop.module_blocked_handle; /* We need to handle the invalid operation of calling modules blocking - * commands from Lua or MULTI. We actually create an already aborted - * (client set to NULL) blocked client handle, and actually reply with + * commands from Lua or MULTI. We actually create an already aborted + * (client set to NULL) blocked client handle, and actually reply with * an error. */ bc->client = (islua || ismulti) ? NULL : c; bc->module = ctx->module; @@ -3423,8 +3423,9 @@ RedisModuleBlockedClient *RM_BlockClient(RedisModuleCtx *ctx, RedisModuleCmdFunc if (islua || ismulti) { c->bpop.module_blocked_handle = NULL; - addReplyError(c, islua ? "Blocking module command called from Lua script" : - "Blocking module command called from transaction"); + addReplyError(c, islua ? + "Blocking module command called from Lua script" : + "Blocking module command called from transaction"); } else { blockClient(c,BLOCKED_MODULE); }