summaryrefslogtreecommitdiffstats
path: root/lib/ftplistparser.c
diff options
context:
space:
mode:
authorCurl Upstream <curl-library@cool.haxx.se>2016-12-22 15:41:14 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-07 16:37:30 (GMT)
commit4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab (patch)
treeef3a36a4eb9b0c43881db54e61574378e104b936 /lib/ftplistparser.c
parent93cc249f3dd7ecd621cd063e4c08bbdb54d971e8 (diff)
downloadCMake-4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab.zip
CMake-4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab.tar.gz
CMake-4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab.tar.bz2
curl 2016-12-22 (44b9b4d4)
Code extracted from: https://github.com/curl/curl.git at commit 44b9b4d4f56d6f6de92c89636994c03984e9cd01 (curl-7_52_1).
Diffstat (limited to 'lib/ftplistparser.c')
-rw-r--r--lib/ftplistparser.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ftplistparser.c b/lib/ftplistparser.c
index 747dbba..f94b31b 100644
--- a/lib/ftplistparser.c
+++ b/lib/ftplistparser.c
@@ -396,9 +396,9 @@ size_t Curl_ftp_parselist(char *buffer, size_t size, size_t nmemb,
}
}
- switch (parser->os_type) {
+ switch(parser->os_type) {
case OS_TYPE_UNIX:
- switch (parser->state.UNIX.main) {
+ switch(parser->state.UNIX.main) {
case PL_UNIX_TOTALSIZE:
switch(parser->state.UNIX.sub.total_dirsize) {
case PL_UNIX_TOTALSIZE_INIT:
@@ -447,7 +447,7 @@ size_t Curl_ftp_parselist(char *buffer, size_t size, size_t nmemb,
}
break;
case PL_UNIX_FILETYPE:
- switch (c) {
+ switch(c) {
case '-':
finfo->filetype = CURLFILETYPE_FILE;
break;
@@ -967,7 +967,7 @@ size_t Curl_ftp_parselist(char *buffer, size_t size, size_t nmemb,
}
break;
case PL_WINNT_FILENAME:
- switch (parser->state.NT.sub.filename) {
+ switch(parser->state.NT.sub.filename) {
case PL_WINNT_FILENAME_PRESPACE:
if(c != ' ') {
parser->item_offset = finfo->b_used -1;