summaryrefslogtreecommitdiff
path: root/lib/setopt.c
diff options
context:
space:
mode:
authorAyesh Karunaratne <ayesh@aye.sh>2022-10-26 12:29:35 +0530
committerDaniel Stenberg <daniel@haxx.se>2022-10-27 10:01:30 +0200
commit4484270afcf3213e86da543941aff5a6d76062a0 (patch)
treea0e02eb5d09b11d2dfc2dc26b5272960660ce086 /lib/setopt.c
parentb7260c4fda95196b2fa16f32b5913f25323e5098 (diff)
downloadcurl-4484270afcf3213e86da543941aff5a6d76062a0.tar.gz
misc: typo and grammar fixes
- Replace `Github` with `GitHub`. - Replace `windows` with `Windows` - Replace `advice` with `advise` where a verb is used. - A few fixes on removing repeated words. - Replace `a HTTP` with `an HTTP` Closes #9802
Diffstat (limited to 'lib/setopt.c')
-rw-r--r--lib/setopt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/setopt.c b/lib/setopt.c
index 6629a9f46..0ff9f9043 100644
--- a/lib/setopt.c
+++ b/lib/setopt.c
@@ -598,7 +598,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
case CURLOPT_FOLLOWLOCATION:
/*
- * Follow Location: header hints on a HTTP-server.
+ * Follow Location: header hints on an HTTP-server.
*/
data->set.http_follow_location = (0 != va_arg(param, long)) ? TRUE : FALSE;
break;
@@ -914,7 +914,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
case CURLOPT_EXPECT_100_TIMEOUT_MS:
/*
- * Time to wait for a response to a HTTP request containing an
+ * Time to wait for a response to an HTTP request containing an
* Expect: 100-continue header before sending the data anyway.
*/
arg = va_arg(param, long);