Module: kamailio
Branch: master
Commit: 53cfb31a4b13afb16e6cbfe82993990ee1bbb8ef
URL:
https://github.com/kamailio/kamailio/commit/53cfb31a4b13afb16e6cbfe82993990…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2014-12-16T10:09:45+01:00
srdb1 Change error message.
This error message is shown both if module is not loaded at all and if module actually
doesn't
support the function.
---
Modified: lib/srdb1/db.c
---
Diff:
https://github.com/kamailio/kamailio/commit/53cfb31a4b13afb16e6cbfe82993990…
Patch:
https://github.com/kamailio/kamailio/commit/53cfb31a4b13afb16e6cbfe82993990…
---
diff --git a/lib/srdb1/db.c b/lib/srdb1/db.c
index 98d3cde..72fe2d8 100644
--- a/lib/srdb1/db.c
+++ b/lib/srdb1/db.c
@@ -78,19 +78,19 @@ int db_check_api(db_func_t* dbf, char *mname)
/* All modules must export db_use_table */
if (dbf->use_table == 0) {
- LM_ERR("module %s does not export db_use_table function\n", mname);
+ LM_ERR("module %s does not export db_use_table function. Please check if module is
loaded.\n", mname);
goto error;
}
/* All modules must export db_init */
if (dbf->init == 0) {
- LM_ERR("module %s does not export db_init function\n", mname);
+ LM_ERR("module %s does not export db_init function. Please check if module is
loaded.\n", mname);
goto error;
}
/* All modules must export db_close */
if (dbf->close == 0) {
- LM_ERR("module %s does not export db_close function\n", mname);
+ LM_ERR("module %s does not export db_close function. Please check if module is
loaded.\n", mname);
goto error;
}