From: antirez Date: Fri, 30 Mar 2012 08:39:34 +0000 (+0200) Subject: Purely aesthetic code change. X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/88bd32f1b7bba8894b0a86c72d5cbc867f3b8bee Purely aesthetic code change. --- diff --git a/src/replication.c b/src/replication.c index f474d982..a6356a07 100644 --- a/src/replication.c +++ b/src/replication.c @@ -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));