Skip to content

Commit

Permalink
Update libvalkey/async.c
Browse files Browse the repository at this point in the history
Co-authored-by: Björn Svensson <[email protected]>
  • Loading branch information
michael-grunder and bjosv committed Jun 19, 2024
1 parent 52af5f6 commit 7a2a639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvalkey/async.c
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ static int valkeyGetSubscribeCallback(valkeyAsyncContext *ac, valkeyReply *reply

/* Match reply with the expected format of a pushed message.
* The type and number of elements (3 to 4) are specified at:
* https://valkey.io/topics/pubsub#format-of-pushed-messages */
* https://valkey.io/docs/topics/pubsub/#format-of-pushed-messages */
if ((reply->type == VALKEY_REPLY_ARRAY && !(c->flags & VALKEY_SUPPORTS_PUSH) && reply->elements >= 3) ||
reply->type == VALKEY_REPLY_PUSH) {
assert(reply->element[0]->type == VALKEY_REPLY_STRING);
Expand Down

0 comments on commit 7a2a639

Please sign in to comment.