aqhome-cgi: moved files.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user