We want the error field to be accessible directly instead of requiring * an indirection to the redisContext struct. */
| 154 | /* We want the error field to be accessible directly instead of requiring |
| 155 | * an indirection to the redisContext struct. */ |
| 156 | static void __redisAsyncCopyError(redisAsyncContext *ac) { |
| 157 | if (!ac) |
| 158 | return; |
| 159 | |
| 160 | redisContext *c = &(ac->c); |
| 161 | ac->err = c->err; |
| 162 | ac->errstr = c->errstr; |
| 163 | } |
| 164 | |
| 165 | redisAsyncContext *redisAsyncConnectWithOptions(const redisOptions *options) { |
| 166 | redisOptions myOptions = *options; |
no outgoing calls
no test coverage detected