mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-16 12:03:03 -05:00
Remove my dire-warning `FIXME' in IPv4 dotted-decimal handling
because Jeroen points out that it's perfectly OK the way it is :-) [originally from svn r1080]
This commit is contained in:
parent
ea2e1dd9ae
commit
8695ee2def
8
winnet.c
8
winnet.c
@ -287,10 +287,10 @@ SockAddr sk_namelookup(char *host, char **canonicalname)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Hack inserted to deal with problems with numeric IPs.
|
* This must be a numeric IPv4 address because it caused a
|
||||||
* FIXME: how will this work in IPv6?
|
* success return from inet_addr.
|
||||||
*/
|
*/
|
||||||
ret->family = AF_INET;
|
ret->family = AF_INET;
|
||||||
*canonicalname = host;
|
*canonicalname = host;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user