From 074bf72a2cb9e641468b9ef92a8b16c7f0e2f00a Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 18 Apr 2012 23:32:02 -0400 Subject: If DisableNetwork, don't even try to open non-controller listeners Fix for 5604; bugfix on 0.2.3.9-alpha, which introduced DisableNetwork. --- src/or/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/main.c') diff --git a/src/or/main.c b/src/or/main.c index 9022f2eb87..f104b66cd7 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1428,7 +1428,7 @@ run_scheduled_events(time_t now) /** 3d. And every 60 seconds, we relaunch listeners if any died. */ if (!net_is_disabled() && time_to_check_listeners < now) { - retry_all_listeners(NULL, NULL); + retry_all_listeners(NULL, NULL, 0); time_to_check_listeners = now+60; } -- cgit v1.2.3-54-g00ecf