Skip to content

Commit

Permalink
redisReplyReaderGetObject => redisReaderGetObject
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Bedard committed Nov 7, 2018
1 parent b25570a commit 5284a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/hiredis_ext/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static void parent_context_mark(redisParentContext *pc) {
// volatile until rb_gc_mark
volatile VALUE root;
if (pc->context && pc->context->reader) {
root = (VALUE)redisReplyReaderGetObject(pc->context->reader);
root = (VALUE)redisReaderGetObject(pc->context->reader);
if (root != 0 && TYPE(root) == T_ARRAY) {
rb_gc_mark(root);
}
Expand Down

0 comments on commit 5284a04

Please sign in to comment.