diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-23 14:17:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-23 14:17:32 +0000 |
commit | 85ab049726deae170d98610499ec44c0d029a425 (patch) | |
tree | 8edb37ba1378bcf165eb38abf4dcb77a2bca427f /src/transport/plugin_transport_http_client.c | |
parent | 6d14d67719b6057939b1dd948e4e74663a1c19e8 (diff) | |
download | gnunet-85ab049726deae170d98610499ec44c0d029a425.tar.gz gnunet-85ab049726deae170d98610499ec44c0d029a425.zip |
-fix casts
Diffstat (limited to 'src/transport/plugin_transport_http_client.c')
-rw-r--r-- | src/transport/plugin_transport_http_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c index d54cd6e9e..cabc6811b 100644 --- a/src/transport/plugin_transport_http_client.c +++ b/src/transport/plugin_transport_http_client.c | |||
@@ -1284,7 +1284,7 @@ client_connect_get (struct Session *s) | |||
1284 | curl_easy_setopt (s->client_get, CURLOPT_TIMEOUT, 0); | 1284 | curl_easy_setopt (s->client_get, CURLOPT_TIMEOUT, 0); |
1285 | curl_easy_setopt (s->client_get, CURLOPT_PRIVATE, s); | 1285 | curl_easy_setopt (s->client_get, CURLOPT_PRIVATE, s); |
1286 | curl_easy_setopt (s->client_get, CURLOPT_CONNECTTIMEOUT_MS, | 1286 | curl_easy_setopt (s->client_get, CURLOPT_CONNECTTIMEOUT_MS, |
1287 | (long) HTTP_CLIENT_NOT_VALIDATED_TIMEOUT.rel_value_us / 1000LL); | 1287 | (long) (HTTP_CLIENT_NOT_VALIDATED_TIMEOUT.rel_value_us / 1000LL)); |
1288 | curl_easy_setopt (s->client_get, CURLOPT_BUFFERSIZE, | 1288 | curl_easy_setopt (s->client_get, CURLOPT_BUFFERSIZE, |
1289 | 2 * GNUNET_SERVER_MAX_MESSAGE_SIZE); | 1289 | 2 * GNUNET_SERVER_MAX_MESSAGE_SIZE); |
1290 | #if CURL_TCP_NODELAY | 1290 | #if CURL_TCP_NODELAY |
@@ -1364,7 +1364,7 @@ client_connect_put (struct Session *s) | |||
1364 | curl_easy_setopt (s->client_put, CURLOPT_TIMEOUT, 0); | 1364 | curl_easy_setopt (s->client_put, CURLOPT_TIMEOUT, 0); |
1365 | curl_easy_setopt (s->client_put, CURLOPT_PRIVATE, s); | 1365 | curl_easy_setopt (s->client_put, CURLOPT_PRIVATE, s); |
1366 | curl_easy_setopt (s->client_put, CURLOPT_CONNECTTIMEOUT_MS, | 1366 | curl_easy_setopt (s->client_put, CURLOPT_CONNECTTIMEOUT_MS, |
1367 | (long) HTTP_CLIENT_NOT_VALIDATED_TIMEOUT.rel_value_us / 1000LL); | 1367 | (long) (HTTP_CLIENT_NOT_VALIDATED_TIMEOUT.rel_value_us / 1000LL)); |
1368 | curl_easy_setopt (s->client_put, CURLOPT_BUFFERSIZE, | 1368 | curl_easy_setopt (s->client_put, CURLOPT_BUFFERSIZE, |
1369 | 2 * GNUNET_SERVER_MAX_MESSAGE_SIZE); | 1369 | 2 * GNUNET_SERVER_MAX_MESSAGE_SIZE); |
1370 | #if CURL_TCP_NODELAY | 1370 | #if CURL_TCP_NODELAY |