forked from mirrors/linphone-iphone
Fix android writable dir for tests
This commit is contained in:
parent
137688ce30
commit
c8bd7e1007
2 changed files with 5 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ int linphone_sql_request(sqlite3* db,const char *stmt){
|
|||
int ret;
|
||||
ret=sqlite3_exec(db,stmt,NULL,NULL,&errmsg);
|
||||
if(ret != SQLITE_OK) {
|
||||
ms_error("linphone_sql_request: error sqlite3_exec(): %s.", errmsg);
|
||||
ms_error("linphone_sql_request: statement %s -> error sqlite3_exec(): %s.", stmt, errmsg);
|
||||
sqlite3_free(errmsg);
|
||||
}
|
||||
return ret;
|
||||
|
|
|
|||
|
|
@ -50,7 +50,11 @@ const char *liblinphone_tester_file_prefix=".";
|
|||
#endif
|
||||
|
||||
/* TODO: have the same "static" for QNX and windows as above? */
|
||||
#ifdef ANDROID
|
||||
const char *liblinphone_tester_writable_dir_prefix = "/data/data/org.linphone.tester/cache";
|
||||
#else
|
||||
const char *liblinphone_tester_writable_dir_prefix = ".";
|
||||
#endif
|
||||
|
||||
const char *userhostsfile = "tester_hosts";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue