]> git.pond.sub.org Git - empserver/commit
Use ef_blank() when extending treaty, loan, comm and trade file
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 24 Feb 2008 17:47:22 +0000 (18:47 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Fri, 14 Mar 2008 19:25:07 +0000 (20:25 +0100)
commit2da8d0c7961a5d26ed42bea9422b172e303bd9f2
tree89daf3a682eb7a997f08e7f20de9d4a15bed06db
parent93d8c53f21cecf587b3eabe59f2e48ce185c1405
Use ef_blank() when extending treaty, loan, comm and trade file

Only treaty extension initialized ef_type and uid properly.  None of
them zeroed unused members and holes in the struct.  comm and trade
extension called ef_extend(), which had no effect, so remove that.
src/lib/commands/offe.c
src/lib/commands/sell.c
src/lib/commands/set.c