From: Josh Soref Date: Thu, 2 Feb 2017 09:40:46 +0000 (+0000) Subject: spelling: compatibility X-Git-Tag: rec-4.1.0-alpha1~291^2~83 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00f450622606f7f795eec1bd7fb1d41fef0d9285;p=thirdparty%2Fpdns.git spelling: compatibility --- diff --git a/pdns/misc.cc b/pdns/misc.cc index c80b4d5855..f2b9ec6e7d 100644 --- a/pdns/misc.cc +++ b/pdns/misc.cc @@ -1303,7 +1303,7 @@ gid_t strToGID(const string &str) unsigned int pdns_stou(const std::string& str, size_t * idx, int base) { - if (str.empty()) return 0; // compability + if (str.empty()) return 0; // compatibility unsigned long result = std::stoul(str, idx, base); if (result > std::numeric_limits::max()) { throw std::out_of_range("stou");