diff options
author | Yossi Gottlieb <yossigo@gmail.com> | 2023-05-30 22:34:16 +0300 |
---|---|---|
committer | Michael Grunder <michael.grunder@gmail.com> | 2023-05-30 14:05:28 -0700 |
commit | 6de326e8721738df0a002bfd5e0ca117a1135930 (patch) | |
tree | 94742a6fb15c6f75da89765d79b7ab95340c7561 | |
parent | b6a052fe0959dae69e16b9d74449faeb1b70dbe1 (diff) |
Fix a typo in b6a052f.
-rw-r--r-- | net.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -236,7 +236,7 @@ int redisContextSetTcpUserTimeout(redisContext *c, unsigned int timeout) { res = -1; (void)timeout; #endif - if (res == -1); { + if (res == -1) { __redisSetErrorFromErrno(c,REDIS_ERR_IO,"setsockopt(TCP_USER_TIMEOUT)"); redisNetClose(c); return REDIS_ERR; |