doc/
subfolder, the README file is autogenerated)from https://github.com/redis/hiredis#using-replies
The standard replies that redisCommand are of the type redisReply. The type field in the redisReply should be used to test what kind of reply was received:
REDIS_REPLY_STATUS:
The command replied with a status reply. The status string can be accessed using reply->str. The length of this string can be accessed using reply->len.REDIS_REPLY_ERROR:
The command replied with an error. The error string can be accessed identical to REDIS_REPLY_STATUS.
adding checks for the reply type to detect command errors
https://github.com/kamailio/kamailio/pull/2314
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.