forked from github/server
sqlite may set errno, reset it
This commit is contained in:
parent
1b13f6119b
commit
4752984e33
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,7 @@
|
||||||
#include <util/message.h>
|
#include <util/message.h>
|
||||||
#include <races/races.h>
|
#include <races/races.h>
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
void game_done(void)
|
void game_done(void)
|
||||||
|
@ -65,6 +66,7 @@ void game_done(void)
|
||||||
void game_init(void)
|
void game_init(void)
|
||||||
{
|
{
|
||||||
dblib_open();
|
dblib_open();
|
||||||
|
errno = 0;
|
||||||
kernel_init();
|
kernel_init();
|
||||||
register_triggers();
|
register_triggers();
|
||||||
register_xmas();
|
register_xmas();
|
||||||
|
|
Loading…
Reference in a new issue