diff --git a/medredis.c b/medredis.c index d087ef3..6681704 100644 --- a/medredis.c +++ b/medredis.c @@ -180,7 +180,7 @@ static int medredis_get_reply(redisReply **reply) { int ret; medredis_command_t *cmd; - if (con->append_counter <= 0) { + if (con->append_counter == 0) { *reply = NULL; return 0; }