Skip to content

Commit 4899fd9

Browse files
authored
Merge pull request #1843 from hfstco/quicfix-build-warnings
compiler warnings
2 parents 647c38b + 89232eb commit 4899fd9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

picoquicfirst/picoquicdemo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ int client_loop_cb(picoquic_quic_t* quic, picoquic_packet_loop_cb_enum cb_mode,
658658
if (cb_ctx->multipath_initiated == 0) {
659659
int is_already_allowed = 0;
660660
cb_ctx->multipath_initiated = 1;
661-
if (ret = picoquic_subscribe_new_path_allowed(cb_ctx->cnx_client, &is_already_allowed) == 0) {
661+
if ((ret = picoquic_subscribe_new_path_allowed(cb_ctx->cnx_client, &is_already_allowed)) == 0) {
662662
if (is_already_allowed) {
663663
ret = client_create_additional_path(cb_ctx->cnx_client, cb_ctx);
664664
}

picoquictest/picoquic_ns.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ void picoquic_ns_simlink_reset(picoquictest_sim_link_t* link, double data_rate_i
644644
link->last_packet = previous_packet;
645645
}
646646
/* Requeue the other packets:
647-
/* reset the queue time to current_time, i.e., after packets in transit are delivered.*/
647+
* reset the queue time to current_time, i.e., after packets in transit are delivered.*/
648648
link->queue_time = current_time;
649649
/* reset the leaky bucket, so it starts working from the current time. */
650650
link->bucket_arrival_last = current_time;

0 commit comments

Comments
 (0)