mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +00:00
Purely aesthetic code change.
This commit is contained in:
parent
f892797e1b
commit
c2672a06cd
@ -26,8 +26,8 @@ void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc) {
|
||||
robj *selectcmd;
|
||||
|
||||
if (dictid >= 0 && dictid < REDIS_SHARED_SELECT_CMDS) {
|
||||
incrRefCount(shared.select[dictid]);
|
||||
selectcmd = shared.select[dictid];
|
||||
incrRefCount(selectcmd);
|
||||
} else {
|
||||
selectcmd = createObject(REDIS_STRING,
|
||||
sdscatprintf(sdsempty(),"select %d\r\n",dictid));
|
||||
|
Loading…
x
Reference in New Issue
Block a user