I have added DBURL as
#!define DBURL "mysql://kamailio_test:kam@#sip@localhost/kamailio"
Where username is kamailio_test and password is kam@#sip
So after the first '@' operator it is assuming it as host part which is not true in this case.
Error log:
'ERROR: db_mysql [km_my_con.c:114]: db_mysql_new_connection(): driver error: Unknown MySQL server host '#sip@localhost' (2)'
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/169
The new distclean is no longer needed in clean_targets? I see maintainer-clean is there. On the other hand 'pure' is missing, but that was added by me a while ago to be easy to remember.
Otherwise, it can be committed.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/commit/cfa04ea34f1888c9e2206808d9ca0b6…
Module: kamailio
Branch: master
Commit: a52859a6ed8c1ea2590e51e0c20d1f2553da1ec9
URL: https://github.com/kamailio/kamailio/commit/a52859a6ed8c1ea2590e51e0c20d1f2…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2015-05-21T23:21:25+02:00
ims_isc: clean gcc warnings
mark.c:341:9: warning: format â%zuâ expects argument of type âsize_tâ, but argument 10 has type âintâ [-Wformat]
mark.c:341:9: warning: format â%zuâ expects argument of type âsize_tâ, but argument 8 has type âintâ [-Wformat]
mark.c:341:1: warning: format â%zuâ expects argument of type âsize_tâ, but argument 8 has type âintâ [-Wformat]
mark.c:341:1: warning: format â%zuâ expects argument of type âsize_tâ, but argument 6 has type âintâ [-Wformat]
mark.c:350:9: warning: format â%zuâ expects argument of type âsize_tâ, but argument 10 has type âintâ [-Wformat]
mark.c:350:9: warning: format â%zuâ expects argument of type âsize_tâ, but argument 8 has type âintâ [-Wformat]
mark.c:350:1: warning: format â%zuâ expects argument of type âsize_tâ, but argument 8 has type âintâ [-Wformat]
mark.c:350:1: warning: format â%zuâ expects argument of type âsize_tâ, but argument 6 has type âintâ [-Wformat]
mark.c:357:9: warning: format â%zuâ expects argument of type âsize_tâ, but argument 13 has type âintâ [-Wformat]
mark.c:357:9: warning: format â%zuâ expects argument of type âsize_tâ, but argument 11 has type âintâ [-Wformat]
mark.c:357:1: warning: format â%zuâ expects argument of type âsize_tâ, but argument 11 has type âintâ [-Wformat]
mark.c:357:1: warning: format â%zuâ expects argument of type âsize_tâ, but argument 9 has type âintâ [-Wformat]
---
Modified: modules/ims_isc/mark.c
---
Diff: https://github.com/kamailio/kamailio/commit/a52859a6ed8c1ea2590e51e0c20d1f2…
Patch: https://github.com/kamailio/kamailio/commit/a52859a6ed8c1ea2590e51e0c20d1f2…
---
diff --git a/modules/ims_isc/mark.c b/modules/ims_isc/mark.c
index 99ef7de..167f3af 100644
--- a/modules/ims_isc/mark.c
+++ b/modules/ims_isc/mark.c
@@ -313,7 +313,7 @@ inline int isc_mark_write_route(struct sip_msg *msg, str *as, str *iscmark) {
*/
int isc_mark_write_psu(struct sip_msg *msg, isc_mark *mark) {
struct lump *l = msg->add_rm;
- int hlen;
+ size_t hlen;
char * hstr = NULL;
const str *regstate, *sescase;