1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

2003-09-21 Timo Schulz <twoaday@freakmail.de>

* http.c [WIN32]: Define MB_CUR_MAX.
        (connect_server): use unsigned long since W32 does not have in_addr_t.
This commit is contained in:
Timo Schulz 2003-09-21 17:36:51 +00:00
parent eb18893c8c
commit 046493fce9
3 changed files with 10 additions and 2 deletions

View file

@ -714,8 +714,7 @@ connect_server( const char *server, ushort port, unsigned int flags )
struct srventry *srvlist=NULL;
#ifdef _WIN32
in_addr_t inaddr;
#warning check the windoze type
unsigned long inaddr;
init_sockets();
/* Win32 gethostbyname doesn't handle IP addresses internally, so we