Skip to content

Commit 0794a36

Browse files
committed
Fix const cc algo
1 parent ccb2073 commit 0794a36

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

picoquictest/picoquic_ns.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
typedef struct st_picoquic_ns_client_t {
102102
uint64_t start_time;
103103
picoquic_cnx_t* cnx;
104-
picoquic_congestion_algorithm_t* cc_algo;
104+
picoquic_congestion_algorithm_t const* cc_algo;
105105
char const* cc_option_string;
106106
quicperf_ctx_t* quicperf_ctx;
107107
picoquic_connection_id_t icid;

picoquictest/picoquic_ns.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ typedef struct st_picoquic_ns_spec_t {
6161
uint64_t background_start_time;
6262
const char* main_scenario_text;
6363
const char* background_scenario_text;
64-
picoquic_congestion_algorithm_t* main_cc_algo;
64+
picoquic_congestion_algorithm_t const* main_cc_algo;
6565
char const* main_cc_options;
66-
picoquic_congestion_algorithm_t* background_cc_algo;
66+
picoquic_congestion_algorithm_t const* background_cc_algo;
6767
char const* background_cc_options;
6868
int nb_connections;
6969
double data_rate_in_gbps; /* datarate, server to clients, defaults to 10 mbps */

0 commit comments

Comments
 (0)