aqhome-storage now checks and parses mqtt messages and stores values in datafiles.
This commit is contained in:
@@ -522,7 +522,8 @@ void _abortMessage(GWEN_MSG_ENDPOINT *ep)
|
||||
DBG_DEBUG(AQH_LOGDOMAIN, "Aborting message (if any).");
|
||||
xep=GWEN_INHERIT_GETDATA(GWEN_MSG_ENDPOINT, AQH_ENDPOINT_HTTP, ep);
|
||||
|
||||
GWEN_Buffer_Reset(xep->currentReadBuffer);
|
||||
if (xep->currentReadBuffer)
|
||||
GWEN_Buffer_Reset(xep->currentReadBuffer);
|
||||
xep->currentHeaderPos=0;
|
||||
xep->currentBodyPos=0;
|
||||
xep->currentBodySize=0;
|
||||
|
||||
Reference in New Issue
Block a user