projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add tests to cover some of the fixed leaks.
[tinc]
/
src
/
netutl.c
diff --git
a/src/netutl.c
b/src/netutl.c
index
4e58911
..
2916e9a
100644
(file)
--- a/
src/netutl.c
+++ b/
src/netutl.c
@@
-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 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;
int err;
hint.ai_family = AF_UNSPEC;