From: Otto Moerbeek Date: Mon, 16 Nov 2020 07:04:10 +0000 (+0100) Subject: Use string instead of char * X-Git-Tag: auth-4.4.0-beta1~11^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=627df2af3f8efa82191bd0de04fc48badeb3150a;p=thirdparty%2Fpdns.git Use string instead of char * Co-authored-by: Remi Gacogne --- 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 },