From: Simon Josefsson <simon@josefsson.org> Date: Sat, 1 Jul 2006 06:47:16 +0000 (+0000) Subject: Fix typo, from Jim Hyslop <jhyslop@dreampossible.ca>. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=397be108b6167bc1010c276aec311349e5a89017;p=pspp Fix typo, from Jim Hyslop <jhyslop@dreampossible.ca>. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index c01d0f790e..2dbf6cf993 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2006-06-30 Jim Hyslop <jhyslop@dreampossible.ca> (tiny change) + + * getaddrinfo.c: fixed typo + 2006-06-29 Eric Blake <ebb9@byu.net> * stat_.h (rpl_mkdir): Declare inline, to avoid warnings about diff --git a/lib/getaddrinfo.c b/lib/getaddrinfo.c index ccc9d2ad55..2cba443875 100644 --- a/lib/getaddrinfo.c +++ b/lib/getaddrinfo.c @@ -167,7 +167,7 @@ getaddrinfo (const char *restrict nodename, if (!se) { char *c; - if (!(*servname >= '0' && *servname <= '9)) + if (!(*servname >= '0' && *servname <= '9')) return EAI_NONAME; port = strtoul (servname, &c, 10); if (*c || port > 0xffff)