From 056c60ec3d3a7b809791ee75e20f97e6ffc9a524 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 5 Mar 2008 15:39:33 +0000 Subject: bugfix: actions were not correctly retried; caused message loss --- ChangeLog | 1 + action.c | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 39f6195e..8a19edd3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ --------------------------------------------------------------------------- Version 3.12.1 (rgerhards), 2008-03-?? +- bugfix: actions were not correctly retried; caused message loss - improved debugging support; debug runtime options can now be set via an environment variable - added library plugins, which can be automatically loaded diff --git a/action.c b/action.c index e8409bfa..5095993a 100644 --- a/action.c +++ b/action.c @@ -405,7 +405,10 @@ actionCallDoAction(action_t *pAction, msg_t *pMsg) /* first check if we are suspended and, if so, retry */ if(actionIsSuspended(pAction)) { iRet = actionTryResume(pAction); - bCallAction = 0; + if(iRet == RS_RET_OK) + bCallAction = 1; + else + bCallAction = 0; } else { bCallAction = 1; } -- cgit v1.2.3