Commit 15c3af31 authored by Pekka Pessi's avatar Pekka Pessi

tests/test_basic_call.c: fix a race

parent 91f20d72
......@@ -1991,9 +1991,10 @@ int reject_update(CONDITION_PARAMS)
SIP_480_TEMPORARILY_UNAVAILABLE,
NUTAG_WITH(current),
TAG_END());
return 1;
return 0;
}
return 0;
return event == nua_i_state && callstate(tags) == nua_callstate_terminated;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment