aboutsummaryrefslogtreecommitdiff
path: root/src/cadet
diff options
context:
space:
mode:
Diffstat (limited to 'src/cadet')
-rw-r--r--src/cadet/gnunet-cadet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cadet/gnunet-cadet.c b/src/cadet/gnunet-cadet.c
index 043318ff3..f9f156f58 100644
--- a/src/cadet/gnunet-cadet.c
+++ b/src/cadet/gnunet-cadet.c
@@ -435,18 +435,18 @@ channel_incoming (void *cls,
435 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Not listening to channels\n"); 435 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Not listening to channels\n");
436 return NULL; 436 return NULL;
437 } 437 }
438#if 0
439 // Closing the listen port currently breaks open connections. 438 // Closing the listen port currently breaks open connections.
440 // Is this an intentional departure from POSIX socket behavior? 439 // Is this an intentional departure from POSIX socket behavior?
441 // 440 //
442 if (NULL != lp) { 441 if (NULL != lp) {
443 /* Now that we have our circuit up and running, let's not 442 /* Now that we have our circuit up and running, let's not
444 * get confused by further incoming connect requests. 443 * get confused by further incoming connect requests.
444 * You need to start another 'gnunet-cadet -o' process
445 * to receive those.
445 */ 446 */
446 GNUNET_CADET_close_port (lp); 447 GNUNET_CADET_close_port (lp);
447 lp = NULL; 448 lp = NULL;
448 } 449 }
449#endif
450 ch = channel; 450 ch = channel;
451 if (GNUNET_NO == echo) 451 if (GNUNET_NO == echo)
452 { 452 {