From: Arran Cudbard-Bell Date: Thu, 30 Sep 2021 19:51:11 +0000 (-0500) Subject: rename L_DST_EXTRA to L_DST_FUNC X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbdb686b58d2303bfd93d70c97499e76a929dbc7;p=thirdparty%2Ffreeradius-server.git rename L_DST_EXTRA to L_DST_FUNC --- 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;