Fri Apr 19 00:49:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorroland <roland>
Sat, 20 Apr 1996 00:04:54 +0000 (00:04 +0000)
committerroland <roland>
Sat, 20 Apr 1996 00:04:54 +0000 (00:04 +0000)
* resolv/getnetnamadr.c (getnetbyaddr): Use u_int32_t instead of
unsigned long for variable NET2.

resolv/getnetnamadr.c

index e5cc505..b2c9118 100644 (file)
@@ -154,7 +154,7 @@ static      char *net_aliases[MAXALIASES], netbuf[BUFSIZ+1];
                                cp += n;
                                return (NULL);
                        }
-                       cp += n; 
+                       cp += n;
                        *ap++ = bp;
                        bp += strlen(bp) + 1;
                        net_entry.n_addrtype =
@@ -189,7 +189,7 @@ static      char *net_aliases[MAXALIASES], netbuf[BUFSIZ+1];
                                        paux1 = pauxt;
                                }
                                in = ++st;
-                       }                 
+                       }
                        net_entry.n_net = inet_network(paux2);
                        break;
                }
@@ -209,7 +209,7 @@ getnetbyaddr(net, net_type)
        int nn, anslen;
        querybuf buf;
        char qbuf[MAXDNAME];
-       unsigned long net2;
+       u_int32_t net2;
        struct netent *net_entry;
 
        if (net_type != AF_INET)