revert previous patch
This commit is contained in:
parent
a89b1858ae
commit
1e09dea0b1
1 changed files with 5 additions and 1 deletions
|
@ -187,7 +187,11 @@ static void notify_handler(struct sipevent_sock *sock,
|
|||
|
||||
if (sub->refer_cseq >= 0 && !sub->id && pl_isset(&event.id)) {
|
||||
|
||||
(void)pl_strdup(&sub->id, &event.id);
|
||||
err = pl_strdup(&sub->id, &event.id);
|
||||
if (err) {
|
||||
(void)sip_treply(NULL, sip, msg, 500, strerror(err));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
re_printf("notify: %s (%r)\n", sipevent_substate_name(state.state),
|
||||
|
|
Loading…
Add table
Reference in a new issue