From 627df2af3f8efa82191bd0de04fc48badeb3150a Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 16 Nov 2020 08:04:10 +0100 Subject: [PATCH] Use string instead of char * Co-authored-by: Remi Gacogne --- pdns/fstrm_logger.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/fstrm_logger.cc b/pdns/fstrm_logger.cc index dba6c26132..6e608cbeea 100644 --- a/pdns/fstrm_logger.cc +++ b/pdns/fstrm_logger.cc @@ -85,7 +85,7 @@ FrameStreamLogger::FrameStreamLogger(const int family, const std::string& addres } const struct { - const char *name; + const std::string name; fstrm_res (*function)(struct fstrm_iothr_options *, const unsigned int); } list[] = { { "bufferHint", fstrm_iothr_options_set_buffer_hint }, -- 2.47.2