Commit dbaa0297 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix bug when comparing event name (there can be parameters)

parent a4bd90f1
......@@ -1653,7 +1653,7 @@ static void process_notify(Sal *sal, eXosip_event_t *ev){
//osip_content_type_t *ct=NULL;
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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment