summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/ftplistparser.c
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2020-11-01 23:02:54 +0300
committerdartraiden <wowemuh@gmail.com>2020-11-01 23:06:35 +0300
commitd7b105a2240a2c1dcd789cec21cc985c709747eb (patch)
tree90a06104d9b3cdce3452d726aaa9d5d9fb98e647 /libs/libcurl/src/ftplistparser.c
parentb54e9f486d521c314a9eb53dab435f14b4ca7504 (diff)
libcurl: update to 7.73.0
Diffstat (limited to 'libs/libcurl/src/ftplistparser.c')
-rw-r--r--libs/libcurl/src/ftplistparser.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/libcurl/src/ftplistparser.c b/libs/libcurl/src/ftplistparser.c
index f399a4c272..c7b84a9ffd 100644
--- a/libs/libcurl/src/ftplistparser.c
+++ b/libs/libcurl/src/ftplistparser.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -274,7 +274,7 @@ static CURLcode ftp_pl_insert_finfo(struct connectdata *conn,
curl_fnmatch_callback compare;
struct WildcardData *wc = &conn->data->wildcard;
struct ftp_wc *ftpwc = wc->protdata;
- struct curl_llist *llist = &wc->filelist;
+ struct Curl_llist *llist = &wc->filelist;
struct ftp_parselist_data *parser = ftpwc->parser;
bool add = TRUE;
struct curl_fileinfo *finfo = &infop->info;
@@ -418,8 +418,8 @@ size_t Curl_ftp_parselist(char *buffer, size_t size, size_t nmemb,
finfo->b_data[parser->item_length - 1] = 0;
if(strncmp("total ", finfo->b_data, 6) == 0) {
char *endptr = finfo->b_data + 6;
- /* here we can deal with directory size, pass the leading white
- spaces and then the digits */
+ /* here we can deal with directory size, pass the leading
+ whitespace and then the digits */
while(ISSPACE(*endptr))
endptr++;
while(ISDIGIT(*endptr))