From dbdb686b58d2303bfd93d70c97499e76a929dbc7 Mon Sep 17 00:00:00 2001 From: Arran Cudbard-Bell Date: Thu, 30 Sep 2021 14:51:11 -0500 Subject: [PATCH] rename L_DST_EXTRA to L_DST_FUNC --- src/lib/server/log.c | 2 +- src/lib/util/log.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/server/log.c b/src/lib/server/log.c index 6fd779cec2..a63dd6381d 100644 --- a/src/lib/server/log.c +++ b/src/lib/server/log.c @@ -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; diff --git a/src/lib/util/log.h b/src/lib/util/log.h index 8ecb7ac1ed..04e05019de 100644 --- a/src/lib/util/log.h +++ b/src/lib/util/log.h @@ -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; -- 2.47.2