[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r8232 - libmicrohttpd/src/testcurl
From: |
gnunet |
Subject: |
[GNUnet-SVN] r8232 - libmicrohttpd/src/testcurl |
Date: |
Fri, 13 Feb 2009 22:10:16 -0700 (MST) |
Author: grothoff
Date: 2009-02-13 22:10:16 -0700 (Fri, 13 Feb 2009)
New Revision: 8232
Modified:
libmicrohttpd/src/testcurl/daemontest_long_header.c
Log:
maybe cast required -- #1454
Modified: libmicrohttpd/src/testcurl/daemontest_long_header.c
===================================================================
--- libmicrohttpd/src/testcurl/daemontest_long_header.c 2009-02-13 16:35:06 UTC
(rev 8231)
+++ libmicrohttpd/src/testcurl/daemontest_long_header.c 2009-02-14 05:10:16 UTC
(rev 8232)
@@ -107,7 +107,7 @@
&ahc_echo,
"GET",
MHD_OPTION_CONNECTION_MEMORY_LIMIT,
- VERY_LONG / 2, MHD_OPTION_END);
+ (size_t) (VERY_LONG / 2), MHD_OPTION_END);
if (d == NULL)
return 1;
c = curl_easy_init ();
@@ -125,9 +125,9 @@
curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
else
curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
- // NOTE: use of CONNECTTIMEOUT without also
- // setting NOSIGNAL results in really weird
- // crashes on my system!
+ /* NOTE: use of CONNECTTIMEOUT without also
+ setting NOSIGNAL results in really weird
+ crashes on my system! */
curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1);
if (CURLE_OK == curl_easy_perform (c))
{
@@ -173,7 +173,7 @@
&ahc_echo,
"GET",
MHD_OPTION_CONNECTION_MEMORY_LIMIT,
- VERY_LONG / 2, MHD_OPTION_END);
+ (size_t) (VERY_LONG / 2), MHD_OPTION_END);
if (d == NULL)
return 16;
c = curl_easy_init ();
@@ -195,9 +195,9 @@
curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
else
curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
- // NOTE: use of CONNECTTIMEOUT without also
- // setting NOSIGNAL results in really weird
- // crashes on my system!
+ /* NOTE: use of CONNECTTIMEOUT without also
+ setting NOSIGNAL results in really weird
+ crashes on my system! */
curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1);
if (CURLE_OK == curl_easy_perform (c))
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r8232 - libmicrohttpd/src/testcurl,
gnunet <=