Updated evsub to sync with the doc

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@306 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Benny Prijono 2006-03-07 15:15:01 +00:00
parent 105217fbee
commit 441ce00f86
1 changed files with 2 additions and 0 deletions

View File

@ -1874,6 +1874,7 @@ static void on_tsx_state_uas( pjsip_evsub *sub, pjsip_transaction *tsx,
if (status != PJ_SUCCESS) {
/* Can't authenticate. Terminate session (?) */
set_state(sub, PJSIP_EVSUB_STATE_TERMINATED, NULL, NULL);
return;
}
}
@ -1886,6 +1887,7 @@ static void on_tsx_state_uas( pjsip_evsub *sub, pjsip_transaction *tsx,
tsx->status_code/100 == 7))
{
set_state(sub, PJSIP_EVSUB_STATE_TERMINATED, NULL, event);
return;
}
} else {