[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: winhttp: Resolve the server name only on the first request.
From: Alexandre Julliard <julliard () winehq ! org>
Date: 2011-11-24 19:59:29
Message-ID: 87zkfls34u.fsf () wine ! dyndns ! org
[Download RAW message or body]
Hans Leidekker <hans@codeweavers.com> writes:
> - send_callback( &request->hdr, WINHTTP_CALLBACK_STATUS_RESOLVING_NAME, \
> connect->servername, strlenW(connect->servername) + 1 ); + if \
> (connect->sockaddr.ss_family == 0xffff) + {
This won't work on Mac OS, ss_family is a byte:
gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT \
-fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
-Wstrict-prototypes -Wwrite-strings -fno-omit-frame-pointer -Wpointer-arith \
-I/sw/include/freetype2 -I/sw/include -I/sw/include -g -O2 -o \
request.o request.c
request.c: In function 'open_connection':
request.c:931: warning: comparison is always false due to limited range of data type
--
Alexandre Julliard
julliard@winehq.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic