fixed info format spec for earldata use

This commit is contained in:
Stefan Eissing 2025-02-25 15:21:26 +01:00
parent 9f91ffaa52
commit cbbdfd32e7
No known key found for this signature in database
3 changed files with 3 additions and 6 deletions

View File

@ -1790,8 +1790,7 @@ static CURLcode gtls_send_earlydata(struct Curl_cfilter *cf,
Curl_bufq_skip(&connssl->earlydata, (size_t)n); Curl_bufq_skip(&connssl->earlydata, (size_t)n);
} }
/* sent everything there was */ /* sent everything there was */
infof(data, "SSL sending %" FMT_OFF_T " bytes of early data", infof(data, "SSL sending %zu bytes of early data", connssl->earlydata_skip);
connssl->earlydata_skip);
out: out:
return result; return result;
} }

View File

@ -4938,8 +4938,7 @@ static CURLcode ossl_send_earlydata(struct Curl_cfilter *cf,
Curl_bufq_skip(&connssl->earlydata, nwritten); Curl_bufq_skip(&connssl->earlydata, nwritten);
} }
/* sent everything there was */ /* sent everything there was */
infof(data, "SSL sending %" FMT_OFF_T " bytes of early data", infof(data, "SSL sending %zu bytes of early data", connssl->earlydata_skip);
connssl->earlydata_skip);
out: out:
return result; return result;
} }

View File

@ -1635,8 +1635,7 @@ static CURLcode wssl_send_earlydata(struct Curl_cfilter *cf,
connssl->earlydata_state = ssl_earlydata_sent; connssl->earlydata_state = ssl_earlydata_sent;
if(!Curl_ssl_cf_is_proxy(cf)) if(!Curl_ssl_cf_is_proxy(cf))
Curl_pgrsEarlyData(data, (curl_off_t)connssl->earlydata_skip); Curl_pgrsEarlyData(data, (curl_off_t)connssl->earlydata_skip);
infof(data, "SSL sending %" FMT_OFF_T " bytes of early data", infof(data, "SSL sending %zu bytes of early data", connssl->earlydata_skip);
connssl->earlydata_skip);
out: out:
return result; return result;
} }