Changed all "old-style" debug calls to new dbg calls.

FossilOrigin-Name: 2e98f08a020add71cecfd7d1902ba88cc5a5a48daf9574e85974674c9a6412cc
This commit is contained in:
7u83@mail.ru
2015-02-07 10:51:29 +00:00
parent e74e8bbf89
commit d5b690213e
17 changed files with 37 additions and 31 deletions

View File

@ -18,7 +18,7 @@ int db_init()
{
const char * filename="ac.sqlite3";
cw_log_debug0("Init sqlite3 db: %s",filename);
cw_dbg(DBG_CW_INFO,"Init sqlite3 db: %s",filename);
int rc = sqlite3_open(filename,&handle);
if (rc)
{
@ -46,7 +46,7 @@ static sqlite3_stmt * ping_stmt;
int db_start()
{
cw_log_debug0("Start sqlite3 db");
cw_dbg(DBG_CW_INFO,"Start sqlite3 db");
sqlite3_stmt *stmt;
int rc = sqlite3_prepare_v2(handle, "INSERT INTO acs (acid,acname) VALUES (?,?);",-1,&stmt,0);