(getanswer): Rewrite a bit to avoid warning.
authordrepper <drepper>
Sun, 12 Oct 1997 03:37:25 +0000 (03:37 +0000)
committerdrepper <drepper>
Sun, 12 Oct 1997 03:37:25 +0000 (03:37 +0000)
resolv/gethnamaddr.c

index 49aea2a..5b9950a 100644 (file)
@@ -386,9 +386,10 @@ getanswer(answer, anslen, qname, qtype)
                                continue;
                        }
                        if (hap >= &h_addr_ptrs[MAXADDRS-1]) {
-                               if (!toobig++)
+                               if (!toobig++) {
                                        dprintf("Too many addresses (%d)\n",
                                                MAXADDRS);
+                               }
                                cp += n;
                                continue;
                        }