controlapi/file: switch to new plain output format

Origin commit data
------------------
Commit: b14383e0df
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-20 (Sat, 20 Feb 2016)

Origin message was:
------------------
- controlapi/file: switch to new plain output format
This commit is contained in:
vanhofen
2016-02-20 12:13:13 +01:00
parent 68e6e3df9a
commit 4387f7fbf3

View File

@@ -3129,7 +3129,7 @@ void CControlAPI::FileCGI(CyhookHandler *hh) {
if (hh->ParamList["action"] == "list") { // directory list: action=list&path=<path> if (hh->ParamList["action"] == "list") { // directory list: action=list&path=<path>
DIR *dirp; DIR *dirp;
TOutType outType = hh->outStart(true /*old mode*/); TOutType outType = hh->outStart();
std::string path = hh->ParamList["path"]; std::string path = hh->ParamList["path"];
if ((dirp = opendir(path.c_str()))) { if ((dirp = opendir(path.c_str()))) {