curl-library
A couple of minor patches
Date: Wed, 23 Nov 2005 05:19:57 +0100
Daniel, maybe you could take in consideration the following patches:
First one is addressed at msvc60, since it dislikes the inclusion of
ws2tcpip.h in setup.h
diff -urp c:\f\curl-old/curl/lib/setup.h c:\f\curl-new/curl/lib/setup.h
--- c:\f\curl-old/curl/lib/setup.h 2005-11-11 23:04:11.000000000 +0100
+++ c:\f\curl-new/curl/lib/setup.h 2005-11-23 04:14:58.443723200 +0100
@@ -169,8 +169,10 @@ typedef unsigned char bool;
#endif
#if defined(ENABLE_IPV6) || defined(USE_SSLEAY)
+#if !defined(_MSC_VER) || (_MSC_VER >= 1300)
#include <ws2tcpip.h>
#endif
+#endif
#if !defined(__GNUC__) || defined(__MINGW32__)
#define sclose(x) closesocket(x)
Second patch shuts up a compiler warning in main.c
diff -urp c:\f\curl-old/curl/src/main.c c:\f\curl-new/curl/src/main.c
--- c:\f\curl-old/curl/src/main.c 2005-11-13 23:54:00.000000000 +0100
+++ c:\f\curl-new/curl/src/main.c 2005-11-23 04:17:25.695460800 +0100
@@ -1944,7 +1944,7 @@ static ParameterError getparameter(char
nextarg,
&config->httppost,
&config->last_post,
- subletter=='s')) /* 's' means literal string */
+ (bool) (subletter=='s'))) /* 's' means literal string */
return PARAM_BAD_USE;
if(SetHTTPrequest(config, HTTPREQ_POST, &config->httpreq))
return PARAM_BAD_USE;
Is there any scheduled date for version 7.15.1 ?
Regards,
Yang
Received on 2005-11-23