Module: sip-router
Branch: master
Commit: 50c83331d15723022e758984b01fd5edb7e11d17
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=50c8333…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Tue Apr 21 21:38:26 2009 +0300
* Module: presence
Fixed wrong error message.
---
modules_k/presence/presence.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules_k/presence/presence.c b/modules_k/presence/presence.c
index 67f082f..9aac54c 100644
--- a/modules_k/presence/presence.c
+++ b/modules_k/presence/presence.c
@@ -541,8 +541,8 @@ static struct mi_root* mi_refreshWatchers(struct mi_root* cmd, void*
param)
return 0;
if(node->value.s== NULL || node->value.len== 0)
{
- LM_ERR( "empty event parameter\n");
- return init_mi_tree(400, "Empty event parameter", 21);
+ LM_ERR( "empty refresh type parameter\n");
+ return init_mi_tree(400, "Empty refresh type parameter", 28);
}
if(str2int(&node->value, &refresh_type)< 0)
{