From: Alan T. DeKok Date: Tue, 19 Nov 2024 13:22:14 +0000 (-0500) Subject: don't break out of the loop in all paths X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6f6e7fe1f1302b04882beed0b343d21373f7a5b;p=thirdparty%2Ffreeradius-server.git don't break out of the loop in all paths we need to continue if the callback says that we can continue --- diff --git a/src/lib/bio/base.c b/src/lib/bio/base.c index 007c578cb13..a5efde18d18 100644 --- a/src/lib/bio/base.c +++ b/src/lib/bio/base.c @@ -270,9 +270,8 @@ void fr_bio_eof(fr_bio_t *bio) if (this->priv_cb.eof((fr_bio_t *) this) == 0) break; /* - * Don't run the EOF callback multiple times. + * Don't run the EOF callback multiple times, and continue the loop. */ this->priv_cb.eof = NULL; - break; } }