]> tinc-vpn.org Git - tinc/blobdiff - src/netutl.c
Make sure the stop command works on Windows if tincd is running in the foreground.
[tinc] / src / netutl.c
index 4e58911cb46f12dbd52f5494d17dec443124561a..2916e9ae6a01a6abc30719010736b3856e224812 100644 (file)
@@ -54,7 +54,7 @@ struct addrinfo *str2addrinfo(const char *address, const char *service, int sock
 
 sockaddr_t str2sockaddr(const char *address, const char *port) {
        struct addrinfo *ai, hint = {0};
-       sockaddr_t result = {{0}};
+       sockaddr_t result = {0};
        int err;
 
        hint.ai_family = AF_UNSPEC;