Commit c2672a06 authored by antirez's avatar antirez
Browse files

Purely aesthetic code change.

parent f892797e
...@@ -26,8 +26,8 @@ void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc) { ...@@ -26,8 +26,8 @@ void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc) {
robj *selectcmd; robj *selectcmd;
if (dictid >= 0 && dictid < REDIS_SHARED_SELECT_CMDS) { if (dictid >= 0 && dictid < REDIS_SHARED_SELECT_CMDS) {
incrRefCount(shared.select[dictid]);
selectcmd = shared.select[dictid]; selectcmd = shared.select[dictid];
incrRefCount(selectcmd);
} else { } else {
selectcmd = createObject(REDIS_STRING, selectcmd = createObject(REDIS_STRING,
sdscatprintf(sdsempty(),"select %d\r\n",dictid)); sdscatprintf(sdsempty(),"select %d\r\n",dictid));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment