- controlapi/file: switch to new plain output format

This commit is contained in:
svenhoefer
2016-02-20 12:13:13 +01:00
parent b941eb950e
commit b14383e0df

View File

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