diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-11-22 20:09:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-11-22 20:09:40 +0000 |
commit | edd5320032bd90563942dc85a0b29e09888dad67 (patch) | |
tree | f9387c837b6974f70099630086daf51189122736 /src | |
parent | 1ffcf912ab555c7a47037b34163a6aa2129f3b10 (diff) | |
download | gnunet-edd5320032bd90563942dc85a0b29e09888dad67.tar.gz gnunet-edd5320032bd90563942dc85a0b29e09888dad67.zip |
-fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/plugin_transport_http_client.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c index a4ecca371..16676bc2d 100644 --- a/src/transport/plugin_transport_http_client.c +++ b/src/transport/plugin_transport_http_client.c | |||
@@ -1484,7 +1484,7 @@ open_tcp_stealth_socket_cb (void *clientp, | |||
1484 | if ( (0 != setsockopt (ret, | 1484 | if ( (0 != setsockopt (ret, |
1485 | IPPROTO_TCP, | 1485 | IPPROTO_TCP, |
1486 | SO_TCPSTEALTH, | 1486 | SO_TCPSTEALTH, |
1487 | &s->target, | 1487 | &s->address->peer, |
1488 | sizeof (struct GNUNET_PeerIdentity))) ) | 1488 | sizeof (struct GNUNET_PeerIdentity))) ) |
1489 | { | 1489 | { |
1490 | (void) close (ret); | 1490 | (void) close (ret); |
@@ -1498,6 +1498,9 @@ open_tcp_stealth_socket_cb (void *clientp, | |||
1498 | case CURLSOCKTYPE_LAST: | 1498 | case CURLSOCKTYPE_LAST: |
1499 | GNUNET_break (0); | 1499 | GNUNET_break (0); |
1500 | return CURL_SOCKET_BAD; | 1500 | return CURL_SOCKET_BAD; |
1501 | default: | ||
1502 | GNUNET_break (0); | ||
1503 | return CURL_SOCKET_BAD; | ||
1501 | } | 1504 | } |
1502 | } | 1505 | } |
1503 | #endif | 1506 | #endif |