[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] Replace use of 'in_addr_t' with 'struct in_addr'



On Fri, Jun 28, 2013 at 12:45:14 +0100, Daniel Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> The 'in_addr_t' typedef is not present in Mingw64 headers.
> Instead we can use the more portable 'struct in_addr' and
> then access its 's_addr' field.
> 
> Signed-off-by: Daniel P. Berrange <berrange redhat com>
> ---
>  src/util/virsocketaddr.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

ACK

/me slaps himself for suggesting in_addr_t and IN6_IS_ADDR_UNSPECIFIED
:-)

Jirka


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]