X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fserver%2Fgod_commands.c;h=674ff6229e06328cee8bdb999036c2fcc172ffee;hb=1cb57a35a3b3cc4ec8870531ca254a655c0bdda2;hp=4ed9f7361452db42732b7af9f5cebf0f4b690515;hpb=3451efffc74f1fbf2453d89e7858e71c97343c22;p=plomrogue diff --git a/src/server/god_commands.c b/src/server/god_commands.c index 4ed9f73..674ff62 100644 --- a/src/server/god_commands.c +++ b/src/server/god_commands.c @@ -332,7 +332,6 @@ static uint8_t world_may_be_set_active() static uint8_t parse_world_active(char * tok0, char * tok1) { - char * f_name = "parse_world_active()"; if (!strcmp(tok0, s[S_CMD_WORLD_ACTIVE]) && !parsetest_int(tok1, '8')) { if (!parsetest_int(tok1, '8')) @@ -343,7 +342,7 @@ static uint8_t parse_world_active(char * tok0, char * tok1) if (!access(s[S_PATH_WORLDSTATE], F_OK)) { int test = unlink(s[S_PATH_WORLDSTATE]); - exit_trouble(-1 == test, f_name, "unlink()"); + exit_trouble(-1 == test, __func__, "unlink"); } world.exists = 0; }