]> git.pond.sub.org Git - empserver/commit
Fix transfer of loans and market lots on sack of capital
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 11 May 2008 08:30:32 +0000 (10:30 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 11 May 2008 08:30:32 +0000 (10:30 +0200)
commitf6308422c3577d62e413834f6667be4dfc582117
tree354ba7d8597c2164348c3d2b1ea6beaf3be1e0f6
parenta16af46af96c06e67928d0f90dd814bbe3fcd26b
Fix transfer of loans and market lots on sack of capital

Fix caploss() to transfer only signed loans.  Before, it transferred
any loan with a non-zero duration, which included loan offers, and
could claim to tranfer nonexistent loans.

Fix caploss() not to claim transfer of nonexistant market lots when
country 0 sacks a capital.
src/lib/subs/caploss.c