summaryrefslogtreecommitdiff
path: root/lib/urlapi.c
diff options
context:
space:
mode:
authorViktor Szakats <commit@vsz.me>2022-08-31 14:31:01 +0000
committerViktor Szakats <commit@vsz.me>2022-08-31 14:31:01 +0000
commitc9061f242b99862bd32ce1ae3fefa1629a614bc1 (patch)
treed29584ee266e01e7b9d59e576710571df2144776 /lib/urlapi.c
parentf2daef6ad486a36568cee97674757b5f24f511bc (diff)
downloadcurl-c9061f242b99862bd32ce1ae3fefa1629a614bc1.tar.gz
misc: spelling fixes
Found using codespell 2.2.1. Also delete the redundant protocol designator from an archive.org URL. Reviewed-by: Daniel Stenberg Closes #9403
Diffstat (limited to 'lib/urlapi.c')
-rw-r--r--lib/urlapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urlapi.c b/lib/urlapi.c
index dee4b5aa0..1e8046b74 100644
--- a/lib/urlapi.c
+++ b/lib/urlapi.c
@@ -1675,7 +1675,7 @@ CURLUcode curl_url_set(CURLU *u, CURLUPart what,
if(appendquery) {
/* Append the string onto the old query. Add a '&' separator if none is
- present at the end of the exsting query already */
+ present at the end of the existing query already */
size_t querylen = u->query ? strlen(u->query) : 0;
bool addamperand = querylen && (u->query[querylen -1] != '&');
if(querylen) {