diff options
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/main.c b/src/or/main.c index 0484c428d..e7b5d52bc 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -388,11 +388,11 @@ static void run_scheduled_events(time_t now) { circuit_reset_failure_count(); if(circ && circ->timestamp_dirty) { log_fn(LOG_INFO,"Youngest circuit dirty; launching replacement."); - circuit_launch_new(); /* make a new circuit */ + circuit_launch_new(CIRCUIT_PURPOSE_C_GENERAL); /* make a new circuit */ } else if (options.RunTesting && circ && circ->timestamp_created + TESTING_CIRCUIT_INTERVAL < now) { log_fn(LOG_INFO,"Creating a new testing circuit."); - circuit_launch_new(); + circuit_launch_new(CIRCUIT_PURPOSE_C_GENERAL); } time_to_new_circuit = now + options.NewCircuitPeriod; } @@ -401,7 +401,7 @@ static void run_scheduled_events(time_t now) { /* if there's no open circ, and less than 3 are on the way, * go ahead and try another. */ - circuit_launch_new(); + circuit_launch_new(CIRCUIT_PURPOSE_C_GENERAL); } } |