| [Freeciv-Dev] [PATCH] Clean up the host lookup code. (PR#544)[Top] [All Lists][Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
 
 
Here's a patch to clean up the code to look up hosts:
* Dropped inet_addr() entirely, since it is obsolete and
  gethostbyname() caters for this case anyway.
* Fixed a couple of minor bugs having to do with when the address is
  not of type AF_INET etc.
* Fixed the stupid bug where a digit at the beginning of an address is
  taken to imply that the address of the form a.b.c.d, with a, b, c,
  and d being numbers...
  host_lookup.diff Description: patch against current cvs
 
PS I notice that I didn't remove the conditional define of INADDR_NONE
in client/clinet.c, please do so after applying the patch as it is no
longer required.
-- 
Big Gaute (not to be confused with LG)
WHOA!!  Ken and Barbie are having TOO MUCH FUN!!  It must
 be the NEGATIVE IONS!!
 
 
| [Prev in Thread] | Current Thread | [Next in Thread] |  
[Freeciv-Dev] [PATCH] Clean up the host lookup code. (PR#544),
Gaute (B) Strokkenes <=
 
 |  |