]> granicus.if.org Git - pdns/commitdiff
use a consistent space predicate
authorbert hubert <bert.hubert@netherlabs.nl>
Wed, 23 Jan 2019 20:23:22 +0000 (21:23 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Wed, 23 Jan 2019 20:23:22 +0000 (21:23 +0100)
pdns/rcpgenerator.cc

index 05661fe80bca4a7dbde5278959fb933a5fdc3005..bebe2d3ecc2e416d8a0cf2e51d089bdf42f5b0f3 100644 (file)
@@ -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();
 }