]> granicus.if.org Git - pdns/commitdiff
spelling: compatibility
authorJosh Soref <jsoref@users.noreply.github.com>
Thu, 2 Feb 2017 09:40:46 +0000 (09:40 +0000)
committerJosh Soref <jsoref@users.noreply.github.com>
Thu, 2 Feb 2017 09:40:46 +0000 (09:40 +0000)
pdns/misc.cc

index c80b4d5855aa4bc274d44a772798a701de83d15e..f2b9ec6e7d1e0d9aee872f36a0dcb359d8c310ef 100644 (file)
@@ -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<unsigned int>::max()) {
     throw std::out_of_range("stou");