From: Alan T. DeKok Date: Sat, 25 May 2024 18:36:14 +0000 (-0400) Subject: activate returns a value X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ced00a942398e74200532b846ffab45ee64fc549;p=thirdparty%2Ffreeradius-server.git activate returns a value --- diff --git a/src/lib/bio/fd.c b/src/lib/bio/fd.c index bf5b244217b..c640bcb1ebb 100644 --- a/src/lib/bio/fd.c +++ b/src/lib/bio/fd.c @@ -854,7 +854,7 @@ int fr_bio_fd_init_common(fr_bio_fd_t *my) /* * Tell the caller that the socket is ready for application data. */ - if (my->cb.activate) my->cb.activate(&my->bio); + if (my->cb.activate) return my->cb.activate(&my->bio); return 0; }