Fix put_empobj() for types other than units
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 23 Feb 2008 06:48:32 +0000 (07:48 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 25 Feb 2008 20:50:25 +0000 (21:50 +0100)
commite63f38833bd218494d993f2668e460d84a28da13
treef2b02809f101866362760e3f81290cc5c00e827b
parent3117ef9c7a575cd8a2fdb48d9f369c38476d376c
Fix put_empobj() for types other than units

put_empobj() used struct empobj member uid, which is valid only for
units.  Existing users pass only units, fortunately.  Fix by making it
take type and uid parameters.
include/empobj.h
src/lib/commands/miss.c
src/lib/subs/empobj.c
src/lib/subs/unitsub.c