Fix typo, from Jim Hyslop <jhyslop@dreampossible.ca>.
author |
Simon Josefsson <simon@josefsson.org> |
date |
Sat, 01 Jul 2006 06:47:16 +0000 |
parents |
1028967dfcb4 |
children |
820733abbd78 |
files |
lib/ChangeLog lib/getaddrinfo.c |
diffstat |
2 files changed, 5 insertions(+), 1 deletions(-)
[+]
|
line diff
--- 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
--- a/lib/getaddrinfo.c
+++ b/lib/getaddrinfo.c
@@ -167,7 +167,7 @@
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)