diff options
author | Daniel Gustafsson <daniel@yesql.se> | 2020-09-30 21:10:14 +0200 |
---|---|---|
committer | Daniel Gustafsson <daniel@yesql.se> | 2020-09-30 21:10:14 +0200 |
commit | 2aac895fb6a7b19dada73f55041b710670befa49 (patch) | |
tree | 751f890d896b4db7f40dc6c56e7c9fc67736ea2e /lib/curl_path.c | |
parent | 021f2c25fd7fbe2887ed156354f8919c0d06a412 (diff) | |
download | gnurl-2aac895fb6a7b19dada73f55041b710670befa49.tar.gz gnurl-2aac895fb6a7b19dada73f55041b710670befa49.tar.bz2 gnurl-2aac895fb6a7b19dada73f55041b710670befa49.zip |
src: Consistently spell whitespace without whitespace
Whitespace is spelled without a space between white and space, so
make sure to consistently spell it that way across the codebase.
Closes #6023
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Reviewed-by: Emil Engler <me@emilengler.com>
Diffstat (limited to 'lib/curl_path.c')
-rw-r--r-- | lib/curl_path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl_path.c b/lib/curl_path.c index fbd98cb39..7b3fb27ab 100644 --- a/lib/curl_path.c +++ b/lib/curl_path.c @@ -168,7 +168,7 @@ CURLcode Curl_get_pathname(const char **cpp, char **path, char *homedir) *cpp = cp + i + strspn(cp + i, WHITESPACE); } else { - /* Read to end of filename - either to white space or terminator */ + /* Read to end of filename - either to whitespace or terminator */ end = strpbrk(cp, WHITESPACE); if(end == NULL) end = strchr(cp, '\0'); @@ -184,7 +184,7 @@ CURLcode Curl_get_pathname(const char **cpp, char **path, char *homedir) (*path)[pathLength] = '\0'; cp += 3; } - /* Copy path name up until first "white space" */ + /* Copy path name up until first "whitespace" */ memcpy(&(*path)[pathLength], cp, (int)(end - cp)); pathLength += (int)(end - cp); (*path)[pathLength] = '\0'; |