aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_udp.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-07-02 21:49:03 +0000
committerChristian Grothoff <christian@grothoff.org>2010-07-02 21:49:03 +0000
commit799eb3f87cac181e4bd981fcce5bdcc2eb8a5e92 (patch)
tree3ff7e21632f7ef9c50af780818b513c5f527b41f /src/transport/plugin_transport_udp.c
parentc910d38cb3a67d29aeee3753a1c9cd6e7d6ccc39 (diff)
downloadgnunet-799eb3f87cac181e4bd981fcce5bdcc2eb8a5e92.tar.gz
gnunet-799eb3f87cac181e4bd981fcce5bdcc2eb8a5e92.zip
indent
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r--src/transport/plugin_transport_udp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c
index e54479b4f..582d083dc 100644
--- a/src/transport/plugin_transport_udp.c
+++ b/src/transport/plugin_transport_udp.c
@@ -1616,9 +1616,10 @@ udp_transport_server_start (void *cls)
1616 { 1616 {
1617 serverAddrv4.sin_port = htons (GNUNET_CRYPTO_random_u32(GNUNET_CRYPTO_QUALITY_STRONG, 33537) + 32000); /* Find a good, non-root port */ 1617 serverAddrv4.sin_port = htons (GNUNET_CRYPTO_random_u32(GNUNET_CRYPTO_QUALITY_STRONG, 33537) + 32000); /* Find a good, non-root port */
1618#if DEBUG_UDP 1618#if DEBUG_UDP
1619 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, 1619 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG,
1620 "udp", 1620 "udp",
1621 "Binding failed, trying new port %d\n", ntohs(serverAddrv4.sin_port)); 1621 "Binding failed, trying new port %d\n",
1622 ntohs(serverAddrv4.sin_port));
1622#endif 1623#endif
1623 } 1624 }
1624 udp_sock.port = ntohs(serverAddrv4.sin_port); 1625 udp_sock.port = ntohs(serverAddrv4.sin_port);