diff --git a/lib/vquic/cf-quiche.c b/lib/vquic/cf-quiche.c index b38ab7d3e9..e0016d37d2 100644 --- a/lib/vquic/cf-quiche.c +++ b/lib/vquic/cf-quiche.c @@ -254,7 +254,6 @@ static bool cf_quiche_do_expire(struct Curl_cfilter *cf, struct h3_stream_ctx *stream, void *user_data) { - (void)stream; (void)user_data; CURL_TRC_CF(sdata, cf, "conn closed, mark as dirty"); stream->xfer_result = CURLE_SEND_ERROR; @@ -580,7 +579,7 @@ static void cf_quiche_process_ev(struct Curl_cfilter *cf, } } -struct cf_quich_disp_ctx { +struct cf_quiche_disp_ctx { uint64_t stream_id; struct Curl_cfilter *cf; struct Curl_multi *multi; @@ -589,7 +588,7 @@ struct cf_quich_disp_ctx { static bool cf_quiche_disp_event(uint32_t mid, void *val, void *user_data) { - struct cf_quich_disp_ctx *dctx = user_data; + struct cf_quiche_disp_ctx *dctx = user_data; struct h3_stream_ctx *stream = val; if(stream->id == dctx->stream_id) { @@ -630,7 +629,7 @@ static CURLcode cf_poll_events(struct Curl_cfilter *cf, else { /* another transfer, do not return errors, as they are not for * the calling transfer */ - struct cf_quich_disp_ctx dctx; + struct cf_quiche_disp_ctx dctx; dctx.stream_id = (uint64_t)rv; dctx.cf = cf; dctx.multi = data->multi; @@ -1141,7 +1140,7 @@ static CURLcode cf_quiche_send(struct Curl_cfilter *cf, struct Curl_easy *data, * sending the 30x response. * This is sort of a race: had the transfer loop called recv first, * it would see the response and stop/discard sending on its own- */ - CURL_TRC_CF(data, cf, "[%" PRIu64 "] discarding data" + CURL_TRC_CF(data, cf, "[%" PRIu64 "] discarding data " "on closed stream with response", stream->id); result = CURLE_OK; *pnwritten = len; @@ -1502,8 +1501,8 @@ static CURLcode cf_quiche_shutdown(struct Curl_cfilter *cf, } if(Curl_bufq_is_empty(&ctx->q.sendbuf)) { - /* sent everything, quiche does not seem to support a graceful - * shutdown waiting for a reply, so ware done. */ + /* sent everything, quiche does not seem to support a graceful shutdown + * waiting for a reply, so we are done. */ CURL_TRC_CF(data, cf, "shutdown completely sent off, done"); *done = TRUE; }