Module: sip-router
Branch: 3.1
Commit: 3b23a42d19b3f53e2670cf1407c0ec029a0c443a
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3b23a42…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Jul 21 00:08:42 2011 +0200
presence(k): log message abour not supported event printed as warning
(cherry picked from commit 460fc8bf6ad5108ff3779c85ff150e4f5145b189)
---
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;