projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
newline
[oweals/gnunet.git]
/
src
/
util
/
test_os_network.c
diff --git
a/src/util/test_os_network.c
b/src/util/test_os_network.c
index ca57765da06844ba55791ed67881f309f58059ac..f19807cfe9424aab786476371144896aed79c579 100644
(file)
--- a/
src/util/test_os_network.c
+++ b/
src/util/test_os_network.c
@@
-41,6
+41,9
@@
proc (void *cls,
int *ok = cls;
char buf[INET6_ADDRSTRLEN];
+ if (NULL == addr)
+ return GNUNET_OK;
+
inet_ntop (addr->sa_family,
(addr->sa_family == AF_INET) ?
(void *) &((struct sockaddr_in *) addr)->sin_addr :