Fix typo, from Jim Hyslop <jhyslop@dreampossible.ca>.
authorSimon Josefsson <simon@josefsson.org>
Sat, 1 Jul 2006 06:47:16 +0000 (06:47 +0000)
committerSimon Josefsson <simon@josefsson.org>
Sat, 1 Jul 2006 06:47:16 +0000 (06:47 +0000)
lib/ChangeLog
lib/getaddrinfo.c

index c01d0f7..2dbf6cf 100644 (file)
@@ -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
index ccc9d2a..2cba443 100644 (file)
@@ -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)