mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 07:20:41 +01:00
cosmetic: remove commented-out code
This commit is contained in:
parent
6b8755be22
commit
c1fd17cc24
2
action.c
2
action.c
@ -1089,7 +1089,6 @@ tryDoAction(action_t *pAction, batch_t *pBatch, int *pnElem, wti_t *pWti)
|
||||
pBatch->pElem[iCommittedUpTo].bPrevWasSuspended = 0; /* we had success! */
|
||||
batchSetElemState(pBatch, iCommittedUpTo, BATCH_STATE_COMM);
|
||||
++iCommittedUpTo;
|
||||
//pBatch->pElem[iCommittedUpTo++].state = BATCH_STATE_COMM;
|
||||
}
|
||||
} else if(localRet == RS_RET_PREVIOUS_COMMITTED) {
|
||||
/* mark messages as committed */
|
||||
@ -1097,7 +1096,6 @@ tryDoAction(action_t *pAction, batch_t *pBatch, int *pnElem, wti_t *pWti)
|
||||
pBatch->pElem[iCommittedUpTo].bPrevWasSuspended = 0; /* we had success! */
|
||||
batchSetElemState(pBatch, iCommittedUpTo, BATCH_STATE_COMM);
|
||||
++iCommittedUpTo;
|
||||
//pBatch->pElem[iCommittedUpTo++].state = BATCH_STATE_COMM;
|
||||
}
|
||||
pBatch->eltState[i] = BATCH_STATE_SUB;
|
||||
} else if(localRet == RS_RET_DEFER_COMMIT) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user