Skip to content

Commit

Permalink
Merge pull request #28 from fortrue/master
Browse files Browse the repository at this point in the history
add 'return' for redisLibeventAttach_link function in the libevent.h file
  • Loading branch information
deep011 authored Dec 23, 2016
2 parents bfff2ab + 7a30cd0 commit aa01a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/libevent.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ static int redisLibeventAttach(redisAsyncContext *ac, struct event_base *base) {

static int redisLibeventAttach_link(redisAsyncContext *ac, void *base)
{
redisLibeventAttach(ac, (struct event_base *)base);
return redisLibeventAttach(ac, (struct event_base *)base);
}

static int redisClusterLibeventAttach(redisClusterAsyncContext *acc, struct event_base *base) {
Expand Down

0 comments on commit aa01a7b

Please sign in to comment.