controlapi/file: switch to new plain output format

Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-02-20 12:13:13 +01:00
parent 0ebec6ab3a
commit e0bd93bb4e

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()))) {