From: Борис Верховский Date: Fri, 1 Oct 2021 14:57:00 +0000 (-0600) Subject: curl: correct grammar in generated libcurl code X-Git-Tag: curl-7_80_0~117 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3aead057a1fd5cb95e9fadec44b2c4c6f25d3644;p=thirdparty%2Fcurl.git curl: correct grammar in generated libcurl code Closes #7802 --- diff --git a/src/tool_easysrc.c b/src/tool_easysrc.c index 246d814692..c6ff95c101 100644 --- a/src/tool_easysrc.c +++ b/src/tool_easysrc.c @@ -63,7 +63,7 @@ static const char *const srchead[]={ /* easysrc_code statements come here */ static const char *const srchard[]={ "/* Here is a list of options the curl code used that cannot get generated", - " as source easily. You may select to either not use them or implement", + " as source easily. You may choose to either not use them or implement", " them yourself.", "", NULL diff --git a/tests/data/test1400 b/tests/data/test1400 index 08fa023d41..b4d29d3791 100644 --- a/tests/data/test1400 +++ b/tests/data/test1400 @@ -79,7 +79,7 @@ int main(int argc, char *argv[]) curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L); /* Here is a list of options the curl code used that cannot get generated - as source easily. You may select to either not use them or implement + as source easily. You may choose to either not use them or implement them yourself. CURLOPT_WRITEDATA set to a objectpointer diff --git a/tests/data/test1401 b/tests/data/test1401 index 609b34ce01..65efc474ce 100644 --- a/tests/data/test1401 +++ b/tests/data/test1401 @@ -96,7 +96,7 @@ int main(int argc, char *argv[]) (long)CURLPROTO_HTTP); /* Here is a list of options the curl code used that cannot get generated - as source easily. You may select to either not use them or implement + as source easily. You may choose to either not use them or implement them yourself. CURLOPT_WRITEDATA set to a objectpointer diff --git a/tests/data/test1402 b/tests/data/test1402 index 89515a8cec..c111af4a9a 100644 --- a/tests/data/test1402 +++ b/tests/data/test1402 @@ -84,7 +84,7 @@ int main(int argc, char *argv[]) curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L); /* Here is a list of options the curl code used that cannot get generated - as source easily. You may select to either not use them or implement + as source easily. You may choose to either not use them or implement them yourself. CURLOPT_WRITEDATA set to a objectpointer diff --git a/tests/data/test1403 b/tests/data/test1403 index f8964f86be..f86f0111ca 100644 --- a/tests/data/test1403 +++ b/tests/data/test1403 @@ -79,7 +79,7 @@ int main(int argc, char *argv[]) curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L); /* Here is a list of options the curl code used that cannot get generated - as source easily. You may select to either not use them or implement + as source easily. You may choose to either not use them or implement them yourself. CURLOPT_WRITEDATA set to a objectpointer diff --git a/tests/data/test1404 b/tests/data/test1404 index 49f66a1cc2..3b41c5cefa 100644 --- a/tests/data/test1404 +++ b/tests/data/test1404 @@ -153,7 +153,7 @@ int main(int argc, char *argv[]) curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L); /* Here is a list of options the curl code used that cannot get generated - as source easily. You may select to either not use them or implement + as source easily. You may choose to either not use them or implement them yourself. CURLOPT_WRITEDATA set to a objectpointer diff --git a/tests/data/test1405 b/tests/data/test1405 index 0a144e1a40..aa7cf4da14 100644 --- a/tests/data/test1405 +++ b/tests/data/test1405 @@ -93,7 +93,7 @@ int main(int argc, char *argv[]) curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L); /* Here is a list of options the curl code used that cannot get generated - as source easily. You may select to either not use them or implement + as source easily. You may choose to either not use them or implement them yourself. CURLOPT_WRITEDATA set to a objectpointer diff --git a/tests/data/test1406 b/tests/data/test1406 index 4983747790..969df638e8 100644 --- a/tests/data/test1406 +++ b/tests/data/test1406 @@ -86,7 +86,7 @@ int main(int argc, char *argv[]) curl_easy_setopt(hnd, CURLOPT_INFILESIZE_LARGE, (curl_off_t)38); /* Here is a list of options the curl code used that cannot get generated - as source easily. You may select to either not use them or implement + as source easily. You may choose to either not use them or implement them yourself. CURLOPT_WRITEDATA set to a objectpointer diff --git a/tests/data/test1407 b/tests/data/test1407 index 5dba13943a..7f48de2d18 100644 --- a/tests/data/test1407 +++ b/tests/data/test1407 @@ -66,7 +66,7 @@ int main(int argc, char *argv[]) curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L); /* Here is a list of options the curl code used that cannot get generated - as source easily. You may select to either not use them or implement + as source easily. You may choose to either not use them or implement them yourself. CURLOPT_WRITEDATA set to a objectpointer diff --git a/tests/data/test1420 b/tests/data/test1420 index d100a61395..92905faba9 100644 --- a/tests/data/test1420 +++ b/tests/data/test1420 @@ -71,7 +71,7 @@ int main(int argc, char *argv[]) curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L); /* Here is a list of options the curl code used that cannot get generated - as source easily. You may select to either not use them or implement + as source easily. You may choose to either not use them or implement them yourself. CURLOPT_WRITEDATA set to a objectpointer diff --git a/tests/data/test1465 b/tests/data/test1465 index ebbd5d6f17..e8caaa2eff 100644 Binary files a/tests/data/test1465 and b/tests/data/test1465 differ