mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 12:38:09 +00:00
fix bug when comparing event name (there can be parameters)
This commit is contained in:
parent
0b03d31909
commit
4da039cd52
1 changed files with 1 additions and 1 deletions
|
|
@ -1653,7 +1653,7 @@ static void process_notify(Sal *sal, eXosip_event_t *ev){
|
|||
//osip_content_type_t *ct=NULL;
|
||||
osip_message_get_body(ev->request,0,&body);
|
||||
//ct=osip_message_get_content_type(ev->request);
|
||||
if (h->hvalue && strcasecmp(h->hvalue,"refer")==0){
|
||||
if (h->hvalue && strncasecmp(h->hvalue,"refer",strlen("refer"))==0){
|
||||
/*special handling of refer events*/
|
||||
if (body && body->body){
|
||||
osip_message_t *msg;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue