[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r13957 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r13957 - gnunet/src/transport |
Date: |
Tue, 21 Dec 2010 13:52:44 +0100 |
Author: nevans
Date: 2010-12-21 13:52:44 +0100 (Tue, 21 Dec 2010)
New Revision: 13957
Modified:
gnunet/src/transport/plugin_transport_tcp.c
Log:
don't know how this could have worked before
Modified: gnunet/src/transport/plugin_transport_tcp.c
===================================================================
--- gnunet/src/transport/plugin_transport_tcp.c 2010-12-21 12:52:11 UTC (rev
13956)
+++ gnunet/src/transport/plugin_transport_tcp.c 2010-12-21 12:52:44 UTC (rev
13957)
@@ -2369,7 +2369,6 @@
/* construct socket address of sender */
memset (&sin_addr, 0, sizeof (sin_addr));
sin_addr.sin_family = AF_INET;
- sin_addr.sin_port = htons((uint16_t) port);
#if HAVE_SOCKADDR_IN_SIN_LEN
sin_addr.sin_len = sizeof (sin_addr);
#endif
@@ -2389,7 +2388,7 @@
plugin);
return;
}
-
+ sin_addr.sin_port = htons((uint16_t) port);
#if DEBUG_TCP_NAT
GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG,
"tcp",
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r13957 - gnunet/src/transport,
gnunet <=