mirror of
https://github.com/curl/curl.git
synced 2026-08-26 07:23:31 +03:00
tidy-up: miscellaneous
- CMake/CurlTests.c: sync indent with rest of file and most of code. - cmake: sync term in `_CURL_PREFILL` description with rest of code. - curl_setup.h: document function relying on `_CRT_SECURE_NO_WARNINGS`. - tests/http/scorecard.py: typo in message. - 'Quiche' -> 'quiche'. - fix comment and formatting nits. Closes #22378
This commit is contained in:
parent
932e63aab9
commit
8734b08883
10 changed files with 37 additions and 41 deletions
|
|
@ -474,7 +474,7 @@ class ScoreRunner:
|
|||
if self._limit_rate:
|
||||
title = f'Download Speed ({self.protocol}), limit={Card.fmt_speed(self._limit_rate_num)}, from {meta["server"]}'
|
||||
else:
|
||||
title = f'Downloads ({self.protocol})from {meta["server"]}'
|
||||
title = f'Downloads ({self.protocol}) from {meta["server"]}'
|
||||
if self._socks_args:
|
||||
title += f' via {self._socks_args}'
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -394,8 +394,7 @@ static int curltest_tweak_handler(request_rec *r)
|
|||
continue;
|
||||
}
|
||||
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "query parameter not "
|
||||
"understood: '%s' in %s",
|
||||
arg, r->args);
|
||||
"understood: '%s' in %s", arg, r->args);
|
||||
ap_die(HTTP_BAD_REQUEST, r);
|
||||
return OK;
|
||||
}
|
||||
|
|
@ -574,8 +573,7 @@ static int curltest_put_handler(request_rec *r)
|
|||
}
|
||||
}
|
||||
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "query parameter not "
|
||||
"understood: '%s' in %s",
|
||||
arg, r->args);
|
||||
"understood: '%s' in %s", arg, r->args);
|
||||
ap_die(HTTP_BAD_REQUEST, r);
|
||||
return OK;
|
||||
}
|
||||
|
|
@ -760,8 +758,7 @@ static int curltest_sslinfo_handler(request_rec *r)
|
|||
continue;
|
||||
}
|
||||
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "query parameter not "
|
||||
"understood: '%s' in %s",
|
||||
arg, r->args);
|
||||
"understood: '%s' in %s", arg, r->args);
|
||||
ap_die(HTTP_BAD_REQUEST, r);
|
||||
return OK;
|
||||
}
|
||||
|
|
@ -869,8 +866,7 @@ static int curltest_limit_handler(request_rec *r)
|
|||
}
|
||||
}
|
||||
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "query parameter not "
|
||||
"understood: '%s' in %s",
|
||||
arg, r->args);
|
||||
"understood: '%s' in %s", arg, r->args);
|
||||
ap_die(HTTP_BAD_REQUEST, r);
|
||||
return OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue