FS-4481 --resolve seg is fixed but just utf-8 will not work. you need type/subtype format like text/utf-8

This commit is contained in:
Anthony Minessale 2012-07-30 16:36:20 -05:00
parent 3c82033e53
commit 0f4ecab5e9
2 changed files with 3 additions and 2 deletions

View File

@ -748,7 +748,8 @@ void sofia_handle_sip_r_message(int status, sofia_profile_t *profile, nua_handle
const char *call_id; const char *call_id;
int *mstatus; int *mstatus;
if (!sip && sip->sip_call_id) { if (!(sip && sip->sip_call_id)) {
nua_handle_destroy(nh);
return; return;
} }

View File

@ -357,7 +357,7 @@ switch_status_t sofia_presence_chat_send(switch_event_t *message_event)
if (is_blocking) { if (is_blocking) {
sanity = 200; sanity = 200;
while(!mstatus && --sanity) { while(!mstatus && --sanity && !msg_nh->nh_destroyed) {
switch_yield(100000); switch_yield(100000);
} }