X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/bab205f787afcb37e5b5a5d1eb16c8fafef6f95d..eab0e26e03fa3c27a4e1172659cea32e1b83699e:/src/pubsub.c diff --git a/src/pubsub.c b/src/pubsub.c index 728e559c..7a45e029 100644 --- a/src/pubsub.c +++ b/src/pubsub.c @@ -63,10 +63,10 @@ int pubsubUnsubscribeChannel(redisClient *c, robj *channel, int notify) { retval = 1; /* Remove the client from the channel -> clients list hash table */ de = dictFind(server.pubsub_channels,channel); - redisAssert(de != NULL); + redisAssertWithInfo(c,NULL,de != NULL); clients = dictGetEntryVal(de); ln = listSearchKey(clients,c); - redisAssert(ln != NULL); + redisAssertWithInfo(c,NULL,ln != NULL); listDelNode(clients,ln); if (listLength(clients) == 0) { /* Free the list and associated hash entry at all if this was