forked from github/server
rename _log_error to log_error and get rid of the cumbersome #define
This commit is contained in:
parent
99fddaf81b
commit
ecac1adb1b
1 changed files with 2 additions and 2 deletions
|
@ -149,13 +149,13 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
err = eressea_init();
|
err = eressea_init();
|
||||||
if (err) {
|
if (err) {
|
||||||
log_error(("initialization failed with code %d\n", err));
|
log_error("initialization failed with code %d\n", err);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
err = eressea_run(luafile, entry_point);
|
err = eressea_run(luafile, entry_point);
|
||||||
if (err) {
|
if (err) {
|
||||||
log_error(("server execution failed with code %d\n", err));
|
log_error("server execution failed with code %d\n", err);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue