aqhome-cgi: moved files.

This commit is contained in:
Martin Preuss
2025-09-15 19:15:51 +02:00
parent 7f301d271b
commit 348c3a8853
15 changed files with 101 additions and 18 deletions

View File

@@ -11,7 +11,6 @@
#endif
#include "./mroot_p.h"
#include "./mdevices.h"
#include "aqhome-cgi/service/module.h"
@@ -172,6 +171,9 @@ void _runIndex(AQH_MODULE *m, AQCGI_REQUEST *rq, AQH_SESSION *session, AQH_DATAC
if (deviceList==NULL) {
DBG_ERROR(NULL, "No device received");
GWEN_Buffer_AppendString(dbuf, "Empty device list.");
GWEN_Buffer_AppendString(dbuf, "<p>No devices.</p>");
AQCGI_Request_SetResponseCode(rq, 200);
AQCGI_Request_SetResponseText(rq, "Ok");
return;
}