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/transport | |
parent | 1ffcf912ab555c7a47037b34163a6aa2129f3b10 (diff) |
-fixes
Diffstat (limited to 'src/transport')
-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 a4ecca371d..16676bc2d2 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, if ( (0 != setsockopt (ret, IPPROTO_TCP, SO_TCPSTEALTH, - &s->target, + &s->address->peer, sizeof (struct GNUNET_PeerIdentity))) ) { (void) close (ret); @@ -1498,6 +1498,9 @@ open_tcp_stealth_socket_cb (void *clientp, case CURLSOCKTYPE_LAST: GNUNET_break (0); return CURL_SOCKET_BAD; + default: + GNUNET_break (0); + return CURL_SOCKET_BAD; } } #endif |