aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_tcp.c
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-12-21 12:52:44 +0000
committerNathan S. Evans <evans@in.tum.de>2010-12-21 12:52:44 +0000
commit5ef7306d3d74c3e076407880ea28fa46fff98b4f (patch)
treeef9c774445fbe57745c6ff599746dfb534a374a1 /src/transport/plugin_transport_tcp.c
parent11290378adec54de902e2fe087c8d1c7ca15d58a (diff)
downloadgnunet-5ef7306d3d74c3e076407880ea28fa46fff98b4f.tar.gz
gnunet-5ef7306d3d74c3e076407880ea28fa46fff98b4f.zip
don't know how this could have worked before
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r--src/transport/plugin_transport_tcp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c
index 6e2d236ab..1ffc8b260 100644
--- a/src/transport/plugin_transport_tcp.c
+++ b/src/transport/plugin_transport_tcp.c
@@ -2369,7 +2369,6 @@ tcp_plugin_server_read (void *cls,
2369 /* construct socket address of sender */ 2369 /* construct socket address of sender */
2370 memset (&sin_addr, 0, sizeof (sin_addr)); 2370 memset (&sin_addr, 0, sizeof (sin_addr));
2371 sin_addr.sin_family = AF_INET; 2371 sin_addr.sin_family = AF_INET;
2372 sin_addr.sin_port = htons((uint16_t) port);
2373#if HAVE_SOCKADDR_IN_SIN_LEN 2372#if HAVE_SOCKADDR_IN_SIN_LEN
2374 sin_addr.sin_len = sizeof (sin_addr); 2373 sin_addr.sin_len = sizeof (sin_addr);
2375#endif 2374#endif
@@ -2389,7 +2388,7 @@ tcp_plugin_server_read (void *cls,
2389 plugin); 2388 plugin);
2390 return; 2389 return;
2391 } 2390 }
2392 2391 sin_addr.sin_port = htons((uint16_t) port);
2393#if DEBUG_TCP_NAT 2392#if DEBUG_TCP_NAT
2394 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, 2393 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG,
2395 "tcp", 2394 "tcp",