Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 8df52918 authored by deuce's avatar deuce

Fix typo.

parent f6bc3325
......@@ -2334,7 +2334,7 @@ handle_addrs(char *host, struct sockaddr_in *addr4, socklen_t *addr4len, struct
}
if (inet_ptoaddr(host, &ia6, sizeof(ia6)) != NULL) {
if (addr6len == 0) {
if (*addr6len == 0) {
addr6->sin6_addr = ia6.in6.sin6_addr;
*addr6len = sizeof(struct sockaddr_in6);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment