aboutsummaryrefslogtreecommitdiffstats
path: root/util/http.c
diff options
context:
space:
mode:
authorTimo Schulz <[email protected]>2003-09-21 17:36:51 +0000
committerTimo Schulz <[email protected]>2003-09-21 17:36:51 +0000
commit046493fce9825d3698f6750a8e9b94777d1f265e (patch)
tree91234cbef0cabaf1b59a3bef365909d29855e79e /util/http.c
parent* g10.c (main): Trim --help to commonly used options. Remove -f. (diff)
downloadgnupg-046493fce9825d3698f6750a8e9b94777d1f265e.tar.gz
gnupg-046493fce9825d3698f6750a8e9b94777d1f265e.zip
2003-09-21 Timo Schulz <[email protected]>
* http.c [WIN32]: Define MB_CUR_MAX. (connect_server): use unsigned long since W32 does not have in_addr_t.
Diffstat (limited to 'util/http.c')
-rw-r--r--util/http.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/http.c b/util/http.c
index 2417f30b0..28faf455e 100644
--- a/util/http.c
+++ b/util/http.c
@@ -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