mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-03 21:32:08 +00:00
inet.c: patch #6765: Fix a small problem with the last changes (incorrect behavior, with ip address string not ended by a '\0', a space or a end of line)
This commit is contained in:
parent
c3f7107e2b
commit
4eda29abf9
@ -88,6 +88,11 @@ HISTORY
|
|||||||
|
|
||||||
++ Bugfixes:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2009-04-24 Simon Goldschmidt, Frédéric Bernon
|
||||||
|
* inet.c: patch #6765: Fix a small problem with the last changes (incorrect
|
||||||
|
behavior, with with ip address string not ended by a '\0', a space or a
|
||||||
|
end of line)
|
||||||
|
|
||||||
2009-04-19 Simon Goldschmidt
|
2009-04-19 Simon Goldschmidt
|
||||||
* rawapi.txt: Fixed bug #26069: Corrected documentation: if tcp_connect fails,
|
* rawapi.txt: Fixed bug #26069: Corrected documentation: if tcp_connect fails,
|
||||||
pcb->err is called, not pcb->connected (with an error code).
|
pcb->err is called, not pcb->connected (with an error code).
|
||||||
|
@ -134,7 +134,7 @@ inet_aton(const char *cp, struct in_addr *addr)
|
|||||||
/*
|
/*
|
||||||
* Check for trailing characters.
|
* Check for trailing characters.
|
||||||
*/
|
*/
|
||||||
if (c != '\0' && !isprint(c) && !isspace(c))
|
if (c != '\0' && !isspace(c))
|
||||||
return (0);
|
return (0);
|
||||||
/*
|
/*
|
||||||
* Concoct the address according to
|
* Concoct the address according to
|
||||||
|
Loading…
Reference in New Issue
Block a user