boolean algebra is difficult
authorPhilipp Tölke <toelke@in.tum.de>
Wed, 26 Oct 2011 11:15:00 +0000 (11:15 +0000)
committerPhilipp Tölke <toelke@in.tum.de>
Wed, 26 Oct 2011 11:15:00 +0000 (11:15 +0000)
src/vpn/gnunet-service-dns.c

index 0ce45ab480558a9550d1b0af8f39a9e2b1119c53..dddb87be9f13da44bc747971bd0bd7900b384486 100644 (file)
@@ -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))