aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-service-dns.c
diff options
context:
space:
mode:
authorPhilipp Tölke <toelke@in.tum.de>2011-10-26 11:15:00 +0000
committerPhilipp Tölke <toelke@in.tum.de>2011-10-26 11:15:00 +0000
commit067240ecb293adeef4c017810dea2eb825bca506 (patch)
tree1252e6713ffcca6f886690800fca7a5331ad54fe /src/vpn/gnunet-service-dns.c
parentcc6252c35c904a6aadee2a6351e506211bfafe01 (diff)
downloadgnunet-067240ecb293adeef4c017810dea2eb825bca506.tar.gz
gnunet-067240ecb293adeef4c017810dea2eb825bca506.zip
boolean algebra is difficult
Diffstat (limited to 'src/vpn/gnunet-service-dns.c')
-rw-r--r--src/vpn/gnunet-service-dns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpn/gnunet-service-dns.c b/src/vpn/gnunet-service-dns.c
index 0ce45ab48..dddb87be9 100644
--- a/src/vpn/gnunet-service-dns.c
+++ b/src/vpn/gnunet-service-dns.c
@@ -484,8 +484,8 @@ receive_mesh_answer (void *cls
484 int i = 0; 484 int i = 0;
485 485
486 while (i < ntohs(pdns->s.ancount) && 486 while (i < ntohs(pdns->s.ancount) &&
487 (pdns->answers[i]->type != 28 || 487 pdns->answers[i]->type != 28 &&
488 pdns->answers[i]->type != 1)) 488 pdns->answers[i]->type != 1)
489 i++; 489 i++;
490 490
491 if (i >= ntohs (pdns->s.ancount)) 491 if (i >= ntohs (pdns->s.ancount))