mirror of
https://github.com/curl/curl.git
synced 2026-07-23 22:37:16 +03:00
tidy-up: miscellaneous
- cmake/Find*: make double quotes consistent. - drop redundant parenthesis. - GHA/checksrc: sync a step name with others. - whitespace. Closes #19233
This commit is contained in:
parent
543b78652a
commit
71d1eec675
12 changed files with 31 additions and 31 deletions
|
|
@ -130,7 +130,7 @@ static int mem_add(struct mem *mem, const char *str)
|
|||
}
|
||||
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
__attribute__ ((format (printf, 2, 3)))
|
||||
__attribute__((format(printf, 2, 3)))
|
||||
#endif
|
||||
static int mem_addf(struct mem *mem, const char *format, ...)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -176,9 +176,9 @@ int main(void)
|
|||
|
||||
/* both VERIFYPEER and VERIFYHOST are set to 0 in this case because there
|
||||
is no CA certificate */
|
||||
|
||||
curl_easy_setopt(ch, CURLOPT_SSL_VERIFYPEER, 0L);
|
||||
curl_easy_setopt(ch, CURLOPT_SSL_VERIFYHOST, 0L);
|
||||
|
||||
curl_easy_setopt(ch, CURLOPT_URL, "https://www.example.com/");
|
||||
curl_easy_setopt(ch, CURLOPT_SSLKEYTYPE, "PEM");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue