Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
8d8703ee
Commit
8d8703ee
authored
Nov 04, 2024
by
David W. Dougherty
Committed by
Michael Grunder
Nov 04, 2024
Browse files
Update old link for modules-api-ref.md
parent
e0f48202
Changes
1
Hide whitespace changes
Inline
Side-by-side
async.c
View file @
8d8703ee
...
...
@@ -478,7 +478,7 @@ static int __redisGetSubscribeCallback(redisAsyncContext *ac, redisReply *reply,
/* Match reply with the expected format of a pushed message.
* The type and number of elements (3 to 4) are specified at:
* https://redis.io/
topics
/pubsub#format-of-pushed-messages */
* https://redis.io/
docs/latest/develop/interact
/pubsub
/
#format-of-pushed-messages */
if
((
reply
->
type
==
REDIS_REPLY_ARRAY
&&
!
(
c
->
flags
&
REDIS_SUPPORTS_PUSH
)
&&
reply
->
elements
>=
3
)
||
reply
->
type
==
REDIS_REPLY_PUSH
)
{
assert
(
reply
->
element
[
0
]
->
type
==
REDIS_REPLY_STRING
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment