]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't break out of the loop in all paths
authorAlan T. DeKok <aland@freeradius.org>
Tue, 19 Nov 2024 13:22:14 +0000 (08:22 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 19 Nov 2024 20:20:29 +0000 (15:20 -0500)
we need to continue if the callback says that we can continue

src/lib/bio/base.c

index 007c578cb1324029bbcb90dbea9f0f5e198a1636..a5efde18d18815149a234f0283bbf5a9b2f4fb15 100644 (file)
@@ -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;
        }
 }