Skip to content

Commit

Permalink
Merge pull request rsyslog#70 from rgerhards/i66
Browse files Browse the repository at this point in the history
fix invalid assert predicate
  • Loading branch information
rgerhards committed Mar 21, 2018
2 parents 5ee7613 + 98f7b16 commit ed28b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/relpsess.c
Expand Up @@ -648,7 +648,7 @@ relpSessTryReestablish(relpSess_t *pThis)

ENTER_RELPFUNC;
RELPOBJ_assert(pThis, Sess);
assert(pThis->sessState = eRelpSessState_BROKEN);
assert(pThis->sessState == eRelpSessState_BROKEN);

CHKRet(relpTcpAbortDestruct(&pThis->pTcp));
CHKRet(relpSessConnect(pThis, pThis->protFamily, pThis->srvPort, pThis->srvAddr));
Expand Down

0 comments on commit ed28b77

Please sign in to comment.