[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r12117 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r12117 - gnunet/src/transport |
Date: |
Fri, 2 Jul 2010 15:51:25 +0200 |
Author: grothoff
Date: 2010-07-02 15:51:25 +0200 (Fri, 02 Jul 2010)
New Revision: 12117
Modified:
gnunet/src/transport/plugin_transport_tcp.c
gnunet/src/transport/plugin_transport_udp.c
Log:
redundant cases
Modified: gnunet/src/transport/plugin_transport_tcp.c
===================================================================
--- gnunet/src/transport/plugin_transport_tcp.c 2010-07-02 13:50:39 UTC (rev
12116)
+++ gnunet/src/transport/plugin_transport_tcp.c 2010-07-02 13:51:25 UTC (rev
12117)
@@ -1453,8 +1453,7 @@
if ( (plugin->behind_nat == GNUNET_YES) && (in_port == 0) )
return GNUNET_OK;
if ( (plugin->only_nat_addresses == GNUNET_YES) &&
- (plugin->behind_nat == GNUNET_YES) &&
- (in_port != 0) )
+ (plugin->behind_nat == GNUNET_YES) )
{
return GNUNET_SYSERR; /* odd case... */
}
Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2010-07-02 13:50:39 UTC (rev
12116)
+++ gnunet/src/transport/plugin_transport_udp.c 2010-07-02 13:51:25 UTC (rev
12117)
@@ -1680,8 +1680,7 @@
if ( (plugin->behind_nat == GNUNET_YES) && (in_port == 0) )
return GNUNET_OK;
if ( (plugin->only_nat_addresses == GNUNET_YES) &&
- (plugin->behind_nat == GNUNET_YES) &&
- (in_port != 0) )
+ (plugin->behind_nat == GNUNET_YES) )
return GNUNET_SYSERR; /* odd case... */
if (in_port == plugin->port)
return GNUNET_OK;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r12117 - gnunet/src/transport,
gnunet <=