• Pieter Noordhuis's avatar
    Redefine REDIS_REPLY_ERROR to be non-zero · 2ef9c2e5
    Pieter Noordhuis authored
    When no reply object functions are defined, the reply type integer is
    returned from redisGetReply(). This sets the *reply argument to the
    consumed reply, where 0 means that it was not possible to consume a full
    reply. With REDIS_REPLY_ERROR having the same value, there is no way to
    tell the difference between an error reply and not consuming a reply.
    2ef9c2e5
hiredis.h 7.15 KB