Module: kamailio
Branch: master
Commit: 9d594b2d61d113ee13c5c6c6985d07d5e2c8b76a
URL:
https://github.com/kamailio/kamailio/commit/9d594b2d61d113ee13c5c6c6985d07d…
Author: Mikko Lehto <mslehto(a)iki.fi>
Committer: Mikko Lehto <mslehto(a)iki.fi>
Date: 2018-02-15T17:17:28+02:00
siptrace: improve module parameter error logging
---
Modified: src/modules/siptrace/siptrace.c
---
Diff:
https://github.com/kamailio/kamailio/commit/9d594b2d61d113ee13c5c6c6985d07d…
Patch:
https://github.com/kamailio/kamailio/commit/9d594b2d61d113ee13c5c6c6985d07d…
---
diff --git a/src/modules/siptrace/siptrace.c b/src/modules/siptrace/siptrace.c
index 0647dafe3f..37591e4aa6 100644
--- a/src/modules/siptrace/siptrace.c
+++ b/src/modules/siptrace/siptrace.c
@@ -348,7 +348,7 @@ static int mod_init(void)
}
memset(dup_uri, 0, sizeof(struct sip_uri));
if(parse_uri(dup_uri_str.s, dup_uri_str.len, dup_uri) < 0) {
- LM_ERR("bad dup uri\n");
+ LM_ERR("bad duplicate_uri\n");
return -1;
}
}
@@ -365,7 +365,7 @@ static int mod_init(void)
if(parse_uri(force_send_sock_str.s, force_send_sock_str.len,
force_send_sock_uri)
< 0) {
- LM_ERR("bad dup uri\n");
+ LM_ERR("bad force_send_sock\n");
return -1;
}
}