home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use not f_name variable but __func__, standardize function name writing.
[plomrogue]
/
src
/
client
/
cleanup.c
diff --git
a/src/client/cleanup.c
b/src/client/cleanup.c
index 7611139a65b66e56190660c0d05bf262e884bad6..3499246c7abcb6b324844a0c52bd401eb238174c 100644
(file)
--- a/
src/client/cleanup.c
+++ b/
src/client/cleanup.c
@@
-18,7
+18,6
@@
static uint32_t cleanup_flags = 0x0000;
extern void cleanup()
{
extern void cleanup()
{
- char * f_name = "cleanup()";
free(world.map.cells);
free(world.log);
free(world.player_inventory);
free(world.map.cells);
free(world.log);
free(world.player_inventory);
@@
-36,11
+35,11
@@
extern void cleanup()
}
if (cleanup_flags & CLEANUP_SERVER_IN)
{
}
if (cleanup_flags & CLEANUP_SERVER_IN)
{
- try_fclose(world.file_server_in,
f_name
);
+ try_fclose(world.file_server_in,
__func__
);
}
if (cleanup_flags & CLEANUP_SERVER_OUT)
{
}
if (cleanup_flags & CLEANUP_SERVER_OUT)
{
- try_fclose(world.file_server_out,
f_name
);
+ try_fclose(world.file_server_out,
__func__
);
}
}
}
}