diff options
author | Michael Grunder <michael.grunder@gmail.com> | 2022-08-19 11:29:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-19 11:29:00 -0700 |
commit | 17c8fe0798d24f581656173ab71540ccf7eed7bb (patch) | |
tree | 98b49f72c1d519a5b4586a9fef5c3ee0958e66fc /async.h | |
parent | b808c0c206e4b1eabdbce2ee723df4258461d4da (diff) | |
parent | f69fac7690fb22a7fc19dba61ef70e5f79ccb2e9 (diff) |
Merge pull request #931 from kristjanvalur/pr2
Stability: Support calling redisAsyncCommand and redisAsyncDisconnect from the onConnected callback
Diffstat (limited to 'async.h')
-rw-r--r-- | async.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ typedef struct redisCallbackList { /* Connection callback prototypes */ typedef void (redisDisconnectCallback)(const struct redisAsyncContext*, int status); -typedef void (redisConnectCallback)(const struct redisAsyncContext*, int status); +typedef void (redisConnectCallback)(struct redisAsyncContext*, int status); typedef void(redisTimerCallback)(void *timer, void *privdata); /* Context for an async connection to Redis */ |