Browse code

presence(k): log message abour not supported event printed as warning

Daniel-Constantin Mierla authored on 20/07/2011 22:08:42
Showing 1 changed files
... ...
@@ -512,10 +512,10 @@ int handle_publish(struct sip_msg* msg, char* sender_uri, char* str2)
512 512
 
513 513
 unsupported_event:
514 514
 	
515
-	LM_ERR("Missing or unsupported event header field value\n");
515
+	LM_WARN("Missing or unsupported event header field value\n");
516 516
 		
517 517
 	if(msg->event && msg->event->body.s && msg->event->body.len>0)
518
-		LM_ERR("\tevent=[%.*s]\n", msg->event->body.len, msg->event->body.s);
518
+		LM_ERR("    event=[%.*s]\n", msg->event->body.len, msg->event->body.s);
519 519
 
520 520
 	reply_code= BAD_EVENT_CODE;
521 521
 	reply_str=	pu_489_rpl;