]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Use string instead of char * 9591/head
authorOtto Moerbeek <otto@drijf.net>
Mon, 16 Nov 2020 07:04:10 +0000 (08:04 +0100)
committerGitHub <noreply@github.com>
Mon, 16 Nov 2020 07:04:10 +0000 (08:04 +0100)
Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
pdns/fstrm_logger.cc

index dba6c26132cdca2ff67f70a5f9225d86c673dacc..6e608cbeea4921b0f35252d6f5e1b53852f2adf2 100644 (file)
@@ -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 },