aboutsummaryrefslogtreecommitdiff
path: root/src
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
parent0f30dd9ebe3b0b78ab37b72cd73d333575ca551a (diff)
downloadgnunet-0124ce8f98f57dcfe6e2d5e456d4429983ed09ac.tar.gz
gnunet-0124ce8f98f57dcfe6e2d5e456d4429983ed09ac.zip
fixfix
Diffstat (limited to 'src')
-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 52519a801..81ec01af4 100644
--- a/src/util/resolver_api.c
+++ b/src/util/resolver_api.c
@@ -206,8 +206,8 @@ check_config ()
206 "resolver"); 206 "resolver");
207 return GNUNET_SYSERR; 207 return GNUNET_SYSERR;
208 } 208 }
209 if ((1 != inet_pton (AF_INET, hostname, &v4)) || 209 if ((1 == inet_pton (AF_INET, hostname, &v4)) ||
210 (1 != inet_pton (AF_INET6, hostname, &v6))) 210 (1 == inet_pton (AF_INET6, hostname, &v6)))
211 { 211 {
212 GNUNET_free (hostname); 212 GNUNET_free (hostname);
213 return GNUNET_OK; 213 return GNUNET_OK;