From 2d9e3eb107b6b6289d5e3a51a32b3a018c96103c Mon Sep 17 00:00:00 2001 From: antirez Date: Sun, 26 Jul 2015 15:29:53 +0200 Subject: RDMF: redisAssert -> serverAssert. --- src/pubsub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pubsub.c') diff --git a/src/pubsub.c b/src/pubsub.c index edb08b04b..c07a692a9 100644 --- a/src/pubsub.c +++ b/src/pubsub.c @@ -98,10 +98,10 @@ int pubsubUnsubscribeChannel(client *c, robj *channel, int notify) { retval = 1; /* Remove the client from the channel -> clients list hash table */ de = dictFind(server.pubsub_channels,channel); - redisAssertWithInfo(c,NULL,de != NULL); + serverAssertWithInfo(c,NULL,de != NULL); clients = dictGetVal(de); ln = listSearchKey(clients,c); - redisAssertWithInfo(c,NULL,ln != NULL); + serverAssertWithInfo(c,NULL,ln != NULL); listDelNode(clients,ln); if (listLength(clients) == 0) { /* Free the list and associated hash entry at all if this was -- cgit v1.2.1