فهرست منبع

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