adapted to last changes in gwen.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user