aboutsummaryrefslogtreecommitdiff
path: root/src/util/socks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/socks.c')
-rw-r--r--src/util/socks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/socks.c b/src/util/socks.c
index c2e012f1c..756be753a 100644
--- a/src/util/socks.c
+++ b/src/util/socks.c
@@ -387,8 +387,7 @@ transmit_ready (void *cls, size_t size, void *buf)
387 * connection.c tells us nothing itself, but mostly its timouts. 387 * connection.c tells us nothing itself, but mostly its timouts.
388 * Initially, we'll simply ignore this and leave massive timeouts, but 388 * Initially, we'll simply ignore this and leave massive timeouts, but
389 * maybe that should change for error handling pruposes. It appears that 389 * maybe that should change for error handling pruposes. It appears that
390 * successful operations, including DNS resolution, do not use this. */ 390 * successful operations, including DNS resolution, do not use this. */if (NULL == buf)
391 if (NULL == buf)
392 { 391 {
393 if (0 == ih->step) 392 if (0 == ih->step)
394 { 393 {
@@ -629,7 +628,7 @@ GNUNET_SOCKS_do_connect (const char *service_name,
629 port0 = 9050; 628 port0 = 9050;
630 /* A typical Tor client should usually try port 9150 for the TBB too, but 629 /* A typical Tor client should usually try port 9150 for the TBB too, but
631 * GNUnet can probably assume a system Tor installation. */ 630 * GNUnet can probably assume a system Tor installation. */
632 if ((port0 > 65535)||(port0 <= 0)) 631 if ((port0 > 65535) || (port0 <= 0))
633 { 632 {
634 LOG (GNUNET_ERROR_TYPE_WARNING, 633 LOG (GNUNET_ERROR_TYPE_WARNING,
635 _ ( 634 _ (
@@ -686,4 +685,5 @@ GNUNET_SOCKS_do_connect (const char *service_name,
686 return GNUNET_SOCKS_run_handshake (ih, socks5); 685 return GNUNET_SOCKS_run_handshake (ih, socks5);
687} 686}
688 687
688
689/* socks.c */ 689/* socks.c */