aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_client.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-11-22 20:34:13 +0000
committerChristian Grothoff <christian@grothoff.org>2014-11-22 20:34:13 +0000
commit4b6729873ec13239a73b2858a51bd71ec32bed5e (patch)
tree0006e9344a81cf05eee1b196a17a36ef24ab34b9 /src/transport/plugin_transport_http_client.c
parentf65f40d0d8162e31b32fdc2595b7e5088cd0a5b3 (diff)
downloadgnunet-4b6729873ec13239a73b2858a51bd71ec32bed5e.tar.gz
gnunet-4b6729873ec13239a73b2858a51bd71ec32bed5e.zip
-rename constants
Diffstat (limited to 'src/transport/plugin_transport_http_client.c')
-rw-r--r--src/transport/plugin_transport_http_client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c
index d6f8afdfd..4cafaf2c0 100644
--- a/src/transport/plugin_transport_http_client.c
+++ b/src/transport/plugin_transport_http_client.c
@@ -1452,7 +1452,7 @@ client_run (void *cls,
1452} 1452}
1453 1453
1454 1454
1455#ifdef SO_TCPSTEALTH 1455#ifdef TCP_STEALTH
1456/** 1456/**
1457 * Open TCP socket with TCP STEALTH enabled. 1457 * Open TCP socket with TCP STEALTH enabled.
1458 * 1458 *
@@ -1483,7 +1483,7 @@ open_tcp_stealth_socket_cb (void *clientp,
1483 return (curl_socket_t) ret; 1483 return (curl_socket_t) ret;
1484 if ( (0 != setsockopt (ret, 1484 if ( (0 != setsockopt (ret,
1485 IPPROTO_TCP, 1485 IPPROTO_TCP,
1486 SO_TCPSTEALTH, 1486 TCP_STEALTH,
1487 &s->address->peer, 1487 &s->address->peer,
1488 sizeof (struct GNUNET_PeerIdentity))) ) 1488 sizeof (struct GNUNET_PeerIdentity))) )
1489 { 1489 {
@@ -1528,7 +1528,7 @@ client_connect_get (struct Session *s)
1528 s->get.s = s; 1528 s->get.s = s;
1529 if (0 != (options & HTTP_OPTIONS_TCP_STEALTH)) 1529 if (0 != (options & HTTP_OPTIONS_TCP_STEALTH))
1530 { 1530 {
1531#ifdef SO_TCPSTEALTH 1531#ifdef TCP_STEALTH
1532 curl_easy_setopt (s->get.easyhandle, 1532 curl_easy_setopt (s->get.easyhandle,
1533 CURLOPT_OPENSOCKETFUNCTION, 1533 CURLOPT_OPENSOCKETFUNCTION,
1534 &open_tcp_stealth_socket_cb); 1534 &open_tcp_stealth_socket_cb);
@@ -1722,7 +1722,7 @@ client_connect_put (struct Session *s)
1722#endif 1722#endif
1723 if (0 != (options & HTTP_OPTIONS_TCP_STEALTH)) 1723 if (0 != (options & HTTP_OPTIONS_TCP_STEALTH))
1724 { 1724 {
1725#ifdef SO_TCPSTEALTH 1725#ifdef TCP_STEALTH
1726 curl_easy_setopt (s->put.easyhandle, 1726 curl_easy_setopt (s->put.easyhandle,
1727 CURLOPT_OPENSOCKETFUNCTION, 1727 CURLOPT_OPENSOCKETFUNCTION,
1728 &open_tcp_stealth_socket_cb); 1728 &open_tcp_stealth_socket_cb);