From: Philipp Tölke Date: Wed, 26 Oct 2011 11:15:00 +0000 (+0000) Subject: boolean algebra is difficult X-Git-Tag: initial-import-from-subversion-38251~16232 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=067240ecb293adeef4c017810dea2eb825bca506;p=oweals%2Fgnunet.git boolean algebra is difficult --- 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 int i = 0; while (i < ntohs(pdns->s.ancount) && - (pdns->answers[i]->type != 28 || - pdns->answers[i]->type != 1)) + pdns->answers[i]->type != 28 && + pdns->answers[i]->type != 1) i++; if (i >= ntohs (pdns->s.ancount))