]> git.pond.sub.org Git - empserver/commit
(load_plane_ship, load_land_ship, load_plane_land, load_land_land):
authorMarkus Armbruster <armbru@pond.sub.org>
Thu, 15 Nov 2007 19:42:28 +0000 (19:42 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 15 Nov 2007 19:42:28 +0000 (19:42 +0000)
commit0e275b8507b946f7a9e1e7fdbc503212376047e0
treed6c29801fdc4571d6b671c0e4d06cf284bd3b2ea
parentdab28b978027a0c832f8e284d0d30763f43d737e
(load_plane_ship, load_land_ship, load_plane_land, load_land_land):
isdigit() can return anything, not just 0 or 1, and you can't combine
its values with &=!  The bug could make loading operations fail
noisily instead of silently, depending on the system's implementation
of isdigit().
src/lib/commands/load.c