]> git.pond.sub.org Git - empserver/commit
update: Push budget update into produce(), enlist()
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 19 Jun 2016 07:09:46 +0000 (09:09 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 18:00:00 +0000 (20:00 +0200)
commit058268595fea3651928dc3765545954a24804c83
treec424f905e10935c100bf985f71ccc449acfcd266
parenta5314a59c4e46cb4081f70ab09cf3c9d844ed823
update: Push budget update into produce(), enlist()

produce() and enlist store the cost through a parameter and return the
amount.  Their caller produce_sect() then updates nat_budget[]
accordingly.  Move the nat_budget[] update into the callees.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
include/update.h
src/lib/update/produce.c
src/lib/update/sect.c