Module: sip-router Branch: master Commit: 2930038a7e4ccf9abb1fe2465d1e59f3dfe9012f URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2930038a...
Author: Olle E. Johansson oej@edvina.net Committer: Olle E. Johansson oej@edvina.net Date: Fri Dec 21 11:18:55 2012 +0100
db_text: Minor correction in error message.
Tell the user what's wrong, not just that it's wrong.
---
modules_k/db_text/dbt_base.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/db_text/dbt_base.c b/modules_k/db_text/dbt_base.c index d6d6e9e..6bd29cc 100644 --- a/modules_k/db_text/dbt_base.c +++ b/modules_k/db_text/dbt_base.c @@ -64,7 +64,7 @@ db1_con_t* dbt_init(const str* _sqlurl) if(_s.len <= DBT_ID_LEN || strncmp(_s.s, DBT_ID, DBT_ID_LEN)!=0) { LM_ERR("invalid database URL - should be:" - " <%s[/]path/to/directory>\n", DBT_ID); + " <%s[/]path/to/directory> Current: %s\n", DBT_ID, _s.s); return NULL; } /*