- Review fix for number of detached states due to use of variable

after end of loop.
This commit is contained in:
W.C.A. Wijngaards 2020-06-30 16:35:48 +02:00
parent 84b0207956
commit 52774b6b20
2 changed files with 3 additions and 1 deletions

View file

@ -7,6 +7,8 @@
with.
- Fix for mesh accounting when rpz decides to drop a reply with a
tcp stream waiting for it.
- Review fix for number of detached states due to use of variable
after end of loop.
24 June 2020: Wouter
- iana portlist updated.

View file

@ -1992,7 +1992,7 @@ mesh_serve_expired_callback(void* arg)
}
if(mstate->reply_list) {
mstate->reply_list = NULL;
if(!mstate->reply_list && !mstate->cb_list && r) {
if(!mstate->reply_list && !mstate->cb_list) {
log_assert(mesh->num_reply_states > 0);
mesh->num_reply_states--;
if(mstate->super_set.count == 0) {