mirror of
https://github.com/lxsang/ant-http
synced 2024-11-18 01:08:21 +01:00
fix db
This commit is contained in:
parent
96419e62a3
commit
0ad4104e02
@ -23,7 +23,7 @@ sqldb __getdb(char *name)
|
|||||||
strcpy(path,__plugin__.dbpath);
|
strcpy(path,__plugin__.dbpath);
|
||||||
strcat(path,name);
|
strcat(path,name);
|
||||||
strcat(path,".db");
|
strcat(path,".db");
|
||||||
LOG("data base: %s\n", path);
|
//LOG("database: %s\n", path);
|
||||||
sqldb ret = (sqldb)database(path);
|
sqldb ret = (sqldb)database(path);
|
||||||
free(path);
|
free(path);
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user