Added missing return statement
FossilOrigin-Name: 9db5bd1d5e014269ab783c0657379c38d3c25099033491b0617ae0f85c23107e
This commit is contained in:
parent
eee0a583fa
commit
a5b5a86d57
@ -64,7 +64,7 @@ int db_start()
|
|||||||
|
|
||||||
// rc = sqlite3_prepare_v2(handle, "UPDATE acs SET lastseen=99 WHERE acid=? ;",-1,&ping_stmt,0);
|
// rc = sqlite3_prepare_v2(handle, "UPDATE acs SET lastseen=99 WHERE acid=? ;",-1,&ping_stmt,0);
|
||||||
printf("RCPin: %d\n",rc);
|
printf("RCPin: %d\n",rc);
|
||||||
|
return 1;
|
||||||
|
|
||||||
errX:
|
errX:
|
||||||
cw_log(LOG_ERR,"Fatal: Can't start sqlite3 db, error %d",rc);
|
cw_log(LOG_ERR,"Fatal: Can't start sqlite3 db, error %d",rc);
|
||||||
|
Loading…
Reference in New Issue
Block a user