update: Drop do_feed()'s return value
Call callers assign the return value to sp->sct_avail now. Move the assignment to do_feed() and drop the return value. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
8e246ee06d
commit
cc61904354
5 changed files with 6 additions and 6 deletions
|
@ -55,7 +55,7 @@ newe(void)
|
|||
continue;
|
||||
if (!sect.sct_off) {
|
||||
natp = getnatp(sect.sct_own);
|
||||
sect.sct_avail = do_feed(§, natp, etu_per_update, 1);
|
||||
do_feed(§, natp, etu_per_update, 1);
|
||||
buildeff(§);
|
||||
}
|
||||
if (nsect++ == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue