mirror of
https://github.com/curl/curl.git
synced 2026-06-02 17:54:52 +03:00
gtls: use the correct return code in trace output
Instead of using a hard-coded zero. Spotted by Copilot Closes #21766
This commit is contained in:
parent
23e4bd9602
commit
efdf733bae
1 changed files with 2 additions and 1 deletions
|
|
@ -2249,7 +2249,8 @@ static CURLcode gtls_recv(struct Curl_cfilter *cf,
|
|||
}
|
||||
|
||||
out:
|
||||
CURL_TRC_CF(data, cf, "gtls_recv(len=%zu) -> 0, %zd", blen, nread);
|
||||
CURL_TRC_CF(data, cf, "gtls_recv(len=%zu) -> %d, %zd", blen,
|
||||
(int)result, nread);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue