summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Grunder <michael.grunder@gmail.com>2020-08-20 18:38:16 -0700
committerGitHub <noreply@github.com>2020-08-20 18:38:16 -0700
commitbea137ca945a131f01159358ee76567992198e58 (patch)
treea4bf4b558b18fd969d258f92bbfe43b42719b80f
parent48696e7e5e0c4fedf15dac0ae974b7fa5526febf (diff)
parentbd6f86eb6b252d33bfcbc947cb459434a7c41072 (diff)
Merge pull request #868 from michael-grunder/fix-sockaddr-typo
Fix sockaddr typo
-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