From: bert hubert Date: Wed, 23 Jan 2019 20:23:22 +0000 (+0100) Subject: use a consistent space predicate X-Git-Tag: rec-4.2.0-alpha1~5^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ead94ed1ca30ff1d02866fe08ebe0885b99ffdf;p=pdns use a consistent space predicate --- diff --git a/pdns/rcpgenerator.cc b/pdns/rcpgenerator.cc index 05661fe80..bebe2d3ec 100644 --- a/pdns/rcpgenerator.cc +++ b/pdns/rcpgenerator.cc @@ -39,7 +39,7 @@ RecordTextReader::RecordTextReader(const string& str, const DNSName& zone) : d_s { /* remove whitespace */ if(!d_string.empty() && ( dns_isspace(*d_string.begin()) || dns_isspace(*d_string.rbegin()) )) - boost::trim_if(d_string, boost::algorithm::is_space()); + boost::trim_if(d_string, dns_isspace); d_end = d_string.size(); }