summaryrefslogtreecommitdiff
path: root/fmacros.h
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2010-12-16 21:50:34 +0100
committerPieter Noordhuis <pcnoordhuis@gmail.com>2010-12-16 21:50:37 +0100
commit2ef9c2e5f769bb5233f740250b0c7a0159e56fae (patch)
tree0cafd2c81a229cea6c29567cb5f6e5d8bbe6a26c /fmacros.h
parent12725f88ed2f77ee7a003458906c34dc20511e0e (diff)
Redefine REDIS_REPLY_ERROR to be non-zero
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.
Diffstat (limited to 'fmacros.h')
0 files changed, 0 insertions, 0 deletions