mirror of
https://github.com/curl/curl.git
synced 2026-07-27 00:47:17 +03:00
lib: reserve 'result' for CURLcode
For consistency, whereever we use a local variable named 'result' that is a CURLcode type. Make other types use other names. Closes #21244
This commit is contained in:
parent
4cb4f9d602
commit
9f5d1a38d1
9 changed files with 66 additions and 67 deletions
|
|
@ -1267,10 +1267,9 @@ static bool url_match_conn(struct connectdata *conn, void *userdata)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
static bool url_match_result(bool result, void *userdata)
|
||||
static bool url_match_result(void *userdata)
|
||||
{
|
||||
struct url_conn_match *match = userdata;
|
||||
(void)result;
|
||||
if(match->found) {
|
||||
/* Attach it now while still under lock, so the connection does
|
||||
* no longer appear idle and can be reaped. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue