[sr-dev] git:master: presence(k): log message abour not supported event printed as warning

Daniel-Constantin Mierla miconda at gmail.com
Thu Jul 21 08:09:33 CEST 2011


Module: sip-router
Branch: master
Commit: 460fc8bf6ad5108ff3779c85ff150e4f5145b189
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=460fc8bf6ad5108ff3779c85ff150e4f5145b189

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Thu Jul 21 00:08:42 2011 +0200

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

---

 modules_k/presence/publish.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules_k/presence/publish.c b/modules_k/presence/publish.c
index 05e6b15..839ed01 100644
--- a/modules_k/presence/publish.c
+++ b/modules_k/presence/publish.c
@@ -512,10 +512,10 @@ int handle_publish(struct sip_msg* msg, char* sender_uri, char* str2)
 
 unsupported_event:
 	
-	LM_ERR("Missing or unsupported event header field value\n");
+	LM_WARN("Missing or unsupported event header field value\n");
 		
 	if(msg->event && msg->event->body.s && msg->event->body.len>0)
-		LM_ERR("\tevent=[%.*s]\n", msg->event->body.len, msg->event->body.s);
+		LM_ERR("    event=[%.*s]\n", msg->event->body.len, msg->event->body.s);
 
 	reply_code= BAD_EVENT_CODE;
 	reply_str=	pu_489_rpl; 




More information about the sr-dev mailing list