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
b044eaa6
Commit
b044eaa6
authored
Aug 29, 2022
by
Björn Svensson
Browse files
Copy error to redisAsyncContext when finding subscribe cb
parent
e0200b79
Changes
1
Hide whitespace changes
Inline
Side-by-side
async.c
View file @
b044eaa6
...
@@ -535,6 +535,7 @@ static int __redisGetSubscribeCallback(redisAsyncContext *ac, redisReply *reply,
...
@@ -535,6 +535,7 @@ static int __redisGetSubscribeCallback(redisAsyncContext *ac, redisReply *reply,
return
REDIS_OK
;
return
REDIS_OK
;
oom:
oom:
__redisSetError
(
&
(
ac
->
c
),
REDIS_ERR_OOM
,
"Out of memory"
);
__redisSetError
(
&
(
ac
->
c
),
REDIS_ERR_OOM
,
"Out of memory"
);
__redisAsyncCopyError
(
ac
);
return
REDIS_ERR
;
return
REDIS_ERR
;
}
}
...
...
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