Commit 599d9642 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Yang Tse fixed MSVC 6.0 warnings

parent 0264faaa
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)
+1 −1
Original line number Diff line number Diff line
@@ -1944,7 +1944,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
                   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;