mirror of
https://github.com/curl/curl.git
synced 2026-08-25 08:43:31 +03:00
tidy-up: use CURL_ARRAYSIZE()
Follow-up to 13b2ea68f0 #16111
Closes #16381
This commit is contained in:
parent
1b710381ca
commit
3fd1dfc829
35 changed files with 52 additions and 64 deletions
|
|
@ -1759,7 +1759,7 @@ static ssize_t read_pkt_to_send(void *userp,
|
|||
|
||||
if(ctx->h3conn && ngtcp2_conn_get_max_data_left(ctx->qconn)) {
|
||||
veccnt = nghttp3_conn_writev_stream(ctx->h3conn, &stream_id, &fin, vec,
|
||||
sizeof(vec) / sizeof(vec[0]));
|
||||
CURL_ARRAYSIZE(vec));
|
||||
if(veccnt < 0) {
|
||||
failf(x->data, "nghttp3_conn_writev_stream returned error: %s",
|
||||
nghttp3_strerror((int)veccnt));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue