]> git.pond.sub.org Git - empserver/commit
tend ltend: Handle "don't have commodity" consistently
authorMarkus Armbruster <armbru@pond.sub.org>
Thu, 14 Sep 2017 10:10:07 +0000 (12:10 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 5 Jan 2021 06:25:17 +0000 (07:25 +0100)
commit3dc22e84979ea31154ef853e209c60b030930362
tree710589945736e437979afe49cfdb3db1ef10483e
parent1bde4df2bd69f91b9f4c930a118b4123d64f1e0c
tend ltend: Handle "don't have commodity" consistently

Transferring commodities from tenders to targets fails when a tender
doesn't have any.  Transferring them from targets to tenders continues
with the next target when a target doesn't have any.  Has always been
that way.

Change the former to continue with the next tender.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/commands/lten.c
src/lib/commands/tend.c
tests/load-tend/03-tend-1
tests/load-tend/journal.log