diff options
author | Ayesh Karunaratne <ayesh@aye.sh> | 2022-10-26 12:29:35 +0530 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-10-27 10:01:30 +0200 |
commit | 4484270afcf3213e86da543941aff5a6d76062a0 (patch) | |
tree | a0e02eb5d09b11d2dfc2dc26b5272960660ce086 /lib/formdata.c | |
parent | b7260c4fda95196b2fa16f32b5913f25323e5098 (diff) | |
download | curl-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/formdata.c')
-rw-r--r-- | lib/formdata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/formdata.c b/lib/formdata.c index 46542b432..c84426375 100644 --- a/lib/formdata.c +++ b/lib/formdata.c @@ -59,7 +59,7 @@ * * AddHttpPost() * - * Adds a HttpPost structure to the list, if parent_post is given becomes + * Adds an HttpPost structure to the list, if parent_post is given becomes * a subpost of parent_post instead of a direct list element. * * Returns newly allocated HttpPost on success and NULL if malloc failed. @@ -199,7 +199,7 @@ static struct FormInfo *AddFormInfo(char *value, * CURL_FORMADD_MEMORY if the allocation of a FormInfo struct failed * CURL_FORMADD_UNKNOWN_OPTION if an unknown option was used * CURL_FORMADD_INCOMPLETE if the some FormInfo is not complete (or error) - * CURL_FORMADD_MEMORY if a HttpPost struct cannot be allocated + * CURL_FORMADD_MEMORY if an HttpPost struct cannot be allocated * CURL_FORMADD_MEMORY if some allocation for string copying failed. * CURL_FORMADD_ILLEGAL_ARRAY if an illegal option is used in an array * |