Browse Source

[1722] find_last does not need argument now

Jelte Jansen 13 years ago
parent
commit
e202628c69
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/masterload.cc

+ 1 - 1
src/lib/dns/masterload.cc

@@ -55,7 +55,7 @@ stripLine(string& s, const Exception& ex) {
         s.resize(pos_semicolon);
         s.resize(pos_semicolon);
     }
     }
     // Remove any trailing whitespace return the resulting text.
     // Remove any trailing whitespace return the resulting text.
-    s.resize(s.find_last_not_of(" /t", s.size()) + 1);
+    s.resize(s.find_last_not_of(" /t") + 1);
     return (s);
     return (s);
 }
 }
 }
 }