diff options
author | antirez <antirez@gmail.com> | 2018-12-07 17:07:14 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2018-12-07 17:07:14 +0100 |
commit | cdab4c3e0911197487a54f1ebe86f51a9a0fcac0 (patch) | |
tree | 87d15b46da95bb3f271fc2f9a9ab2079c9205153 | |
parent | 7e0cc2bb91dc610b68d2e063728a4416efd19885 (diff) | |
parent | c6341ce3730cbe6c224c75311e79d5c50d238886 (diff) | |
download | redis-cdab4c3e0911197487a54f1ebe86f51a9a0fcac0.tar.gz |
Merge branch 'unstable' of github.com:/antirez/redis into unstable
-rw-r--r-- | src/networking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/networking.c b/src/networking.c index 02d2a17ba..f19eb86bb 100644 --- a/src/networking.c +++ b/src/networking.c @@ -1470,7 +1470,7 @@ void processInputBuffer(client *c) { } /* Trim to pos */ - if (c->qb_pos) { + if (server.current_client != NULL && c->qb_pos) { sdsrange(c->querybuf,c->qb_pos,-1); c->qb_pos = 0; } |