adapted to last changes in gwen.

This commit is contained in:
Martin Preuss
2024-10-02 22:09:43 +02:00
parent 25efeeb244
commit cc1dcc4d7f
2 changed files with 29 additions and 28 deletions

View File

@@ -14,6 +14,7 @@
#include "./requests.h"
#include <gwenhywfar/debug.h>
#include <gwenhywfar/msg_ipc.h>
@@ -42,7 +43,7 @@ void AQH_Requests_CheckTimeouts(GWEN_MSG_REQUEST *requestTreeRoot)
if (GWEN_Timestamp_Compare(now, ts)>=0) {
/* timeout */
DBG_INFO(NULL, "Request timed out, aborting");
GWEN_MsgRequest_Abort(rq);
GWEN_MsgRequest_Abort(rq, GWEN_MSG_REQUEST_REASON_TIMEOUT);
}
rq=GWEN_MsgRequest_Tree2_GetBelow(rq);
}
@@ -132,7 +133,7 @@ void _freeFinishedRequests(GWEN_MSG_REQUEST *rq)
}
if (GWEN_MsgRequest_GetState(rq)==GWEN_MSG_REQUEST_STATE_DONE) {
DBG_ERROR(NULL, "Deleting request");
DBG_INFO(NULL, "Deleting request");
GWEN_MsgRequest_free(rq);
}
}