]> git.pond.sub.org Git - empserver/commit - src/lib/subs/unitsub.c
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>
Tue, 26 Feb 2008 20:07:58 +0000 (21:07 +0100)
commit59c65239f76206211435222376bfcb662d556fd5
treef85e5d7c0883daaca6d3a82ce66863988406dc04
parentdd2d2d361a42fefd511581caa53694d8b9d05e04
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