diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-11 15:23:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-11 15:23:38 +0000 |
commit | 35f500039b0375503ff00b2b03aa1e75b9af46f5 (patch) | |
tree | ea9e098041fd62a9b7c5e4a2c4e00f97dbc1425e /src/transport/plugin_transport_http.c | |
parent | 6267301ba1e100e901af3ce1a15f801f7529e884 (diff) | |
download | gnunet-35f500039b0375503ff00b2b03aa1e75b9af46f5.tar.gz gnunet-35f500039b0375503ff00b2b03aa1e75b9af46f5.zip |
remark
Diffstat (limited to 'src/transport/plugin_transport_http.c')
-rw-r--r-- | src/transport/plugin_transport_http.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index 40ad5c0a0..aeef547a5 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c | |||
@@ -160,6 +160,7 @@ http_plugin_address_pretty_printer (void *cls, const char *type, | |||
160 | size_t sbs; | 160 | size_t sbs; |
161 | uint16_t port = 0 ; | 161 | uint16_t port = 0 ; |
162 | 162 | ||
163 | // BUG! Transport addrs over the network must NOT be 'struct sockaddr*'s! | ||
163 | if (addrlen == sizeof (struct sockaddr_in6)) | 164 | if (addrlen == sizeof (struct sockaddr_in6)) |
164 | { | 165 | { |
165 | sb = addr; | 166 | sb = addr; |