Skip to content

Commit

Permalink
core: set exit flag for return 0
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Jan 20, 2022
1 parent af08033 commit 23c39ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/action.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,9 @@ int do_action(struct run_act_ctx* h, struct action* a, struct sip_msg* msg)
goto error;
}
h->run_flags|=(unsigned int)a->val[1].u.number;
if(unlikely((ret==0) && (h->run_flags&RETURN_R_F))) {
h->run_flags |= EXIT_R_F;
}
break;
case FORWARD_T:
#ifdef USE_TCP
Expand Down

0 comments on commit 23c39ec

Please sign in to comment.