From: Jelte Jansen Date: Wed, 29 Feb 2012 10:08:15 +0000 (+0100) Subject: [1722] find_last does not need argument now X-Git-Tag: trac2351_base~226^2~116^2~146^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e202628c6950839aaa6d318ea7a08b4f596499c0;p=thirdparty%2Fkea.git [1722] find_last does not need argument now --- diff --git a/src/lib/dns/masterload.cc b/src/lib/dns/masterload.cc index fbbae6ea08..6f1e2369c0 100644 --- a/src/lib/dns/masterload.cc +++ b/src/lib/dns/masterload.cc @@ -55,7 +55,7 @@ stripLine(string& s, const Exception& ex) { s.resize(pos_semicolon); } // 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); } }