diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-10-11 05:06:43 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-10-11 05:06:43 +0000 |
commit | 6a4caed664f70e677c80c0002a087f74d52f3af0 (patch) | |
tree | ecd7e9b376466d6343ed0a92ca81d48eac9b6235 /pjsip/src/pjsua-lib | |
parent | 14b3104e0ee5d84b1353eb0680f9cbfbac8b23bd (diff) |
Ticket #951 (misc fixes):
- fixed misc compiler warnings with gcc on Linux
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2938 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua-lib')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_call.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_call.c b/pjsip/src/pjsua-lib/pjsua_call.c index 5c493d03..c57873f6 100644 --- a/pjsip/src/pjsua-lib/pjsua_call.c +++ b/pjsip/src/pjsua-lib/pjsua_call.c @@ -2942,18 +2942,18 @@ static void pjsua_call_on_state_changed(pjsip_inv_session *inv, ev_state = PJSIP_EVSUB_STATE_ACTIVE; break; + case PJSIP_INV_STATE_CONFIRMED: #if 0 /* We don't need this, as we've terminated the subscription in * CONNECTING state. */ - case PJSIP_INV_STATE_CONFIRMED: /* When state is confirmed, send the final 200/OK and terminate * subscription. */ st_code = e->body.tsx_state.tsx->status_code; ev_state = PJSIP_EVSUB_STATE_TERMINATED; - break; #endif + break; case PJSIP_INV_STATE_DISCONNECTED: st_code = e->body.tsx_state.tsx->status_code; |