diff options
author | Mark Nunberg <mnunberg@haskalah.org> | 2019-02-20 04:50:02 -0500 |
---|---|---|
committer | Mark Nunberg <mnunberg@haskalah.org> | 2019-02-20 09:11:10 -0500 |
commit | 4b904296405c888dde38c4e10818714f8165bced (patch) | |
tree | 52ea86691435877d9f54a393c79945e9cb57ad52 | |
parent | d9e0299f1cf923ebba0e2027a2044954c5a22a38 (diff) |
Remove redundant line after rebase
-rw-r--r-- | net.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -502,7 +502,6 @@ int redisContextConnectUnix(redisContext *c, const char *path, const struct time sa = (struct sockaddr_un*)(c->saddr = malloc(sizeof(struct sockaddr_un))); c->addrlen = sizeof(struct sockaddr_un); sa->sun_family = AF_UNIX; - c->addrlen = sizeof(*sa); strncpy(sa->sun_path, path, sizeof(sa->sun_path) - 1); if (connect(c->fd, (struct sockaddr*)sa, sizeof(*sa)) == -1) { if (errno == EINPROGRESS && !blocking) { |