]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl: correct grammar in generated libcurl code
authorБорис Верховский <boris.verk@gmail.com>
Fri, 1 Oct 2021 14:57:00 +0000 (08:57 -0600)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 12 Oct 2021 22:33:20 +0000 (00:33 +0200)
Closes #7802

src/tool_easysrc.c
tests/data/test1400
tests/data/test1401
tests/data/test1402
tests/data/test1403
tests/data/test1404
tests/data/test1405
tests/data/test1406
tests/data/test1407
tests/data/test1420
tests/data/test1465

index 246d81469263199bdd3379bcd02f3960ed1c51db..c6ff95c101bdc5faa67f463248d664af4de44bce 100644 (file)
@@ -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
index 08fa023d4144db4526c19c727fdfcc9548d995d5..b4d29d3791275c704897d33527f976c4d0a39fe3 100644 (file)
@@ -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
index 609b34ce01eebc595b4022f766caacb37f993ff8..65efc474ceb54a4910d5ff9bedc6e7402cbae9fc 100644 (file)
@@ -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
index 89515a8cec55bb2d2af8b679b8480708e0dbeab4..c111af4a9a79321e2cc523aacdf9ef92d75223fd 100644 (file)
@@ -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
index f8964f86bea17f4ea8dff095f4a3c9eeb187ff4b..f86f0111ca7c9ce89ef57fd00ba8e2ab1b8ec954 100644 (file)
@@ -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
index 49f66a1cc2341a614c5608240d9cdd2ce85c6f38..3b41c5cefad042e4851a8b40a0f839fd4fe5641b 100644 (file)
@@ -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
index 0a144e1a405fd9184f494b5e01cc133e40b4308a..aa7cf4da14156e4132d6fffdca4bc3aad153a362 100644 (file)
@@ -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
index 4983747790e986a9b5b30bef3251884c7c7651ae..969df638e8bc063e954c753713c13c2a819df578 100644 (file)
@@ -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
index 5dba13943a67a7255ab75f3df3b93ce1cc6e47a3..7f48de2d181f135da95867d74d6e3d181e2f22ce 100644 (file)
@@ -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
index d100a61395aaca2cbd4931dafd3c65f5db19086f..92905faba951549090d36e256856530b9fb126da 100644 (file)
@@ -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
index ebbd5d6f1750f76d86973f8c0636940bf566f10c..e8caaa2eff3195e3a9d6afba16a744a4bb5a8716 100644 (file)
Binary files a/tests/data/test1465 and b/tests/data/test1465 differ