Jelajahi Sumber

db_text: Minor correction in error message.

Tell the user what's wrong, not just that it's wrong.
Olle E. Johansson 12 tahun lalu
induk
melakukan
2930038a7e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;
 	}
 	/*