aboutsummaryrefslogtreecommitdiff
path: root/src/util/resolver_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-08 11:08:02 +0000
committerChristian Grothoff <christian@grothoff.org>2016-04-08 11:08:02 +0000
commit0124ce8f98f57dcfe6e2d5e456d4429983ed09ac (patch)
tree5939ea4f85f8c73e2b26f6df8f4cbaceb4c22c8f /src/util/resolver_api.c
parent0f30dd9ebe3b0b78ab37b72cd73d333575ca551a (diff)
fixfix
Diffstat (limited to 'src/util/resolver_api.c')
-rw-r--r--src/util/resolver_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/resolver_api.c b/src/util/resolver_api.c
index 52519a8010..81ec01af4b 100644
--- 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;