]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
rename L_DST_EXTRA to L_DST_FUNC
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 30 Sep 2021 19:51:11 +0000 (14:51 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 30 Sep 2021 20:33:40 +0000 (15:33 -0500)
src/lib/server/log.c
src/lib/util/log.h

index 6fd779cec25baa6baaf0e8ac77c4368e82089dd6..a63dd6381d9052e6715118b5766270c7b174c93d 100644 (file)
@@ -324,7 +324,7 @@ void vlog_request(fr_log_type_t type, fr_log_lvl_t lvl, request_t *request,
                        break;
 
 #if defined(HAVE_FOPENCOOKIE) || defined (HAVE_FUNOPEN)
-               case L_DST_EXTRA:
+               case L_DST_FUNC:
                {
 #  ifdef HAVE_FOPENCOOKIE
                        cookie_io_functions_t io;
index 8ecb7ac1edb0fb8bb23c21039a69f58c8243d6aa..04e05019de92cd6884351b035cff64f00f1f1197 100644 (file)
@@ -79,7 +79,7 @@ typedef enum {
        L_DST_FILES,                            //!< Log to a file on disk.
        L_DST_SYSLOG,                           //!< Log to syslog.
        L_DST_STDERR,                           //!< Log to stderr.
-       L_DST_EXTRA,                            //!< Send log messages to a FILE*, via fopencookie()
+       L_DST_FUNC,                             //!< Send log messages to a FILE*, via fopencookie()
        L_DST_NULL,                             //!< Discard log messages.
        L_DST_NUM_DEST
 } fr_log_dst_t;