瀏覽代碼

db_text: Minor correction in error message.

Tell the user what's wrong, not just that it's wrong.
Olle E. Johansson 12 年之前
父節點
當前提交
2930038a7e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules_k/db_text/dbt_base.c

+ 1 - 1
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;
 	}
 	/*