projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f30dd9
)
fixfix
author
Christian Grothoff
<christian@grothoff.org>
Fri, 8 Apr 2016 11:08:02 +0000
(11:08 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 8 Apr 2016 11:08:02 +0000
(11:08 +0000)
src/util/resolver_api.c
patch
|
blob
|
history
diff --git
a/src/util/resolver_api.c
b/src/util/resolver_api.c
index 52519a8010ee444e8a854b0214a69c864e9396e6..81ec01af4b5d3a0475b32080241e7e76daaaae33 100644
(file)
--- a/
src/util/resolver_api.c
+++ b/
src/util/resolver_api.c
@@
-206,8
+206,8
@@
check_config ()
"resolver");
return GNUNET_SYSERR;
}
- if ((1
!
= inet_pton (AF_INET, hostname, &v4)) ||
- (1
!
= inet_pton (AF_INET6, hostname, &v6)))
+ if ((1
=
= inet_pton (AF_INET, hostname, &v4)) ||
+ (1
=
= inet_pton (AF_INET6, hostname, &v6)))
{
GNUNET_free (hostname);
return GNUNET_OK;