summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2020-08-20 17:58:23 -0700
committermichael-grunder <michael.grunder@gmail.com>2020-08-20 17:58:23 -0700
commitbd6f86eb6b252d33bfcbc947cb459434a7c41072 (patch)
treea4bf4b558b18fd969d258f92bbfe43b42719b80f
parent48696e7e5e0c4fedf15dac0ae974b7fa5526febf (diff)
Fix sockaddr typo
Fixes #867
-rw-r--r--hiredis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hiredis.h b/hiredis.h
index 06bec8c..a629930 100644
--- a/hiredis.h
+++ b/hiredis.h
@@ -255,7 +255,7 @@ typedef struct redisContext {
} unix_sock;
/* For non-blocking connect */
- struct sockadr *saddr;
+ struct sockaddr *saddr;
size_t addrlen;
/* Optional data and corresponding destructor users can use to provide