diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_conflux_pool.c | 2 | ||||
-rw-r--r-- | src/test/test_congestion_control.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/test/test_conflux_pool.c b/src/test/test_conflux_pool.c index ad78283fe3..fc30677377 100644 --- a/src/test/test_conflux_pool.c +++ b/src/test/test_conflux_pool.c @@ -128,7 +128,6 @@ circuit_establish_circuit_conflux_mock(const uint8_t *conflux_nonce, simulate_single_hop_extend(circ, 0); simulate_single_hop_extend(circ, 1); circ->cpath->prev->ccontrol = tor_malloc_zero(sizeof(congestion_control_t)); - circ->cpath->prev->ccontrol->sendme_arrival_timestamps = smartlist_new(); circ->cpath->prev->ccontrol->sendme_pending_timestamps = smartlist_new(); circ->cpath->prev->ccontrol->sendme_inc = 31; @@ -499,7 +498,6 @@ simulate_circuit_build(circuit_t *client_circ) relay_side->purpose = CIRCUIT_PURPOSE_OR; relay_side->n_chan = NULL; // No next hop relay_side->ccontrol = tor_malloc_zero(sizeof(congestion_control_t)); - relay_side->ccontrol->sendme_arrival_timestamps = smartlist_new(); relay_side->ccontrol->sendme_pending_timestamps = smartlist_new(); relay_side->ccontrol->sendme_inc = 31; smartlist_add(exit_circs, relay_side); diff --git a/src/test/test_congestion_control.c b/src/test/test_congestion_control.c index f494515e99..26095d310a 100644 --- a/src/test/test_congestion_control.c +++ b/src/test/test_congestion_control.c @@ -216,7 +216,7 @@ run_vegas_cwnd_test_vec(congestion_control_t *cc, circ->circuit_blocked_on_p_chan = vec[i].or_conn_blocked_in; cc->inflight = vec[i].inflight_in; - congestion_control_vegas_process_sendme(cc, circ, NULL); + congestion_control_vegas_process_sendme(cc, circ); /* If the or conn was blocked, ensure we updated our * CC state */ |