]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Include missing header
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 17 Oct 2023 23:37:56 +0000 (17:37 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 17 Oct 2023 23:38:06 +0000 (17:38 -0600)
src/listen/detail/proto_detail.h
src/listen/detail/proto_detail_work.c

index 55b78d9dc59661fe10203b066c4c9accd1d45645..e94480ba407484d8ec8655274aafe501b3afeeb6 100644 (file)
@@ -25,6 +25,7 @@
  */
 RCSIDH(detail_h, "$Id$")
 
+#include <freeradius-devel/io/application.h>
 #include <freeradius-devel/server/module_rlm.h>
 #include <freeradius-devel/util/retry.h>
 #include <freeradius-devel/util/dlist.h>
@@ -62,7 +63,7 @@ typedef struct {
        uint32_t                        num_messages;                   //!< for message ring buffer
        uint32_t                        priority;                       //!< for packet processing, larger == higher
 
-       bool                            exit_when_done;         //!< exit when done reading the current file.
+       bool                            exit_when_done;                 //!< exit when done reading the current file.
 
        fr_schedule_t                   *sc;                            //!< the scheduler, where we insert new readers
 
index 090b0220820ea931b751bc03f61fa75694e498df..7b9e6c23c7fb735f7a51d93175bfa053174da6ee 100644 (file)
@@ -734,8 +734,6 @@ static int mod_open(fr_listen_t *li)
 
 static int mod_close_internal(proto_detail_work_thread_t *thread)
 {
-       proto_detail_work_t const       *inst = talloc_get_type_abort_const(thread->inst, proto_detail_work_t);
-
        /*
         *      One less worker...  we check for "0" because of the
         *      hacks in proto_detail which let us start up with