From b14383e0dfb8b1af8dd0eb397734f75e2e7dc37c Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sat, 20 Feb 2016 12:13:13 +0100 Subject: [PATCH] - controlapi/file: switch to new plain output format --- src/nhttpd/tuxboxapi/controlapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nhttpd/tuxboxapi/controlapi.cpp b/src/nhttpd/tuxboxapi/controlapi.cpp index dbce4ff46..d3f292007 100644 --- a/src/nhttpd/tuxboxapi/controlapi.cpp +++ b/src/nhttpd/tuxboxapi/controlapi.cpp @@ -3129,7 +3129,7 @@ void CControlAPI::FileCGI(CyhookHandler *hh) { if (hh->ParamList["action"] == "list") { // directory list: action=list&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()))) {