From 70e82e5c79affb255d57e88474e254f1ccee56cf Mon Sep 17 00:00:00 2001 From: Maxim Zakharov Date: Wed, 28 Aug 2013 15:44:40 +1000 Subject: [PATCH] A mistype fixed --- src/replication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/replication.c b/src/replication.c index 27187476..81323cb6 100644 --- a/src/replication.c +++ b/src/replication.c @@ -189,7 +189,7 @@ void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc) { /* Add the multi bulk reply length. */ aux[0] = '*'; - len = ll2string(aux+1,sizeof(aux-1),argc); + len = ll2string(aux+1,sizeof(aux)-1,argc); aux[len+1] = '\r'; aux[len+2] = '\n'; feedReplicationBacklog(aux,len+3);