is valid, zero if not according to Linux man page.
+Thu Nov 29 18:11:00 2000 Corinna Vinschen <corinna@vinschen.de>
+
+ * net.cc (cygwin_inet_aton): Return nonzero if the address
+ is valid, zero if not according to Linux man page.
+
Mon Nov 27 21:09:50 2000 Kelley Cook <kelley.cook@home.com>
* mmap.cc (munmap): Check that mmap and munmap length match.
{
unsigned long res = inet_addr (cp);
if (res == INADDR_NONE && strcmp (cp, "255.255.255.255"))
- return -1;
+ return 0;
if (inp)
inp->s_addr = res;
- return 0;
+ return 1;
}
/* undocumented in wsock32.dll */