diff options
author | antirez <antirez@gmail.com> | 2017-09-28 23:15:34 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2017-10-04 16:12:47 +0200 |
commit | c94cd1d8313b2caed5c2617046f7518fdc8f66b7 (patch) | |
tree | 1a1ae02d724971fb00f501a4db400a9ef885a25d | |
parent | 193e4acc07ae5e60638145b72e8fd792a47e9d32 (diff) | |
download | redis-c94cd1d8313b2caed5c2617046f7518fdc8f66b7.tar.gz |
Limit statement in RM_BlockClient() to 80 cols.
-rw-r--r-- | src/module.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/module.c b/src/module.c index ae76ae612..afeb6e2cf 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); } |