empserver/src/lib/player
Markus Armbruster e7d75b2279 Use gcc function attribute `format' to catch bad format strings. Fix
them.  From Marc Olzheim.
Type modifier 'l' was missing in many places, probably rendering the
server useless on 64-bit hosts.
(ef_flush, ef_write, ef_extend, lwpCreate, lwpDestroy): Use conversion
specifier 'p' to print pointers.
(check_market): Fix display of loan amount.
(doland): Fix unescaped '%' (undefined behavior).
(ldump, ndump, pdump, sdump): Don't use flag '0' with conversion
specifier 's' (undefined behavior).
(dump, ldump, lost, ndump, pdump, sdump, empth_create, update_sched):
Cast time_t and pthread_t to long for printing.
(lwpStackCheck, lwpStackCheckUsed, finish_sects): Insert cast to fix
argument type on all platforms.
(prod): Remove extra argument.
(perform_mission, airdamage, retreat_land1, lwpReschedule): Format
string missed arguments.
2004-03-09 12:27:40 +00:00
..
.cvsignore List generated files and directories that CVS doesn't ignore by 2003-10-04 14:54:09 +00:00
accept.c (player_new) [!RESOLVE_IPADDRESS]: Don't define unused local variable. 2004-03-01 14:17:58 +00:00
dispatch.c (player_coms): Declaration in com.h was misspelled. Remove redundant 2004-02-19 20:38:02 +00:00
empdis.c Use gcc function attribute `format' to catch bad format strings. Fix 2004-03-09 12:27:40 +00:00
empmod.c (diss, player_coms): Command `dissolve' has been disabled at least 2004-03-03 08:20:45 +00:00
init_nats.c Sectors need space for items, deliveries and distribution thresholds. 2004-03-03 16:54:22 +00:00
login.c Don't cast void to void. 2004-03-01 13:56:07 +00:00
Makefile Creating make include files with make doesn't work with many makes out 2004-02-07 00:54:35 +00:00
nat.c Indented with src/scripts/indent-emp. 2003-09-02 20:48:48 +00:00
player.c Use gcc function attribute `format' to catch bad format strings. Fix 2004-03-09 12:27:40 +00:00
recvclient.c Remove superflous include. 2004-01-08 10:11:38 +00:00