From: Mukund Sivaraman Date: Thu, 27 Dec 2012 11:25:08 +0000 (+0530) Subject: [2565] Rename function argument X-Git-Tag: bind10-1.0.0-rc-release~95^2~21^2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ab72138d43cb21a620c021a24e6a248b3dd77ab;p=thirdparty%2Fkea.git [2565] Rename function argument --- diff --git a/src/lib/dns/rrparamregistry-placeholder.cc b/src/lib/dns/rrparamregistry-placeholder.cc index 9729d86eee..487daa5d79 100644 --- a/src/lib/dns/rrparamregistry-placeholder.cc +++ b/src/lib/dns/rrparamregistry-placeholder.cc @@ -423,12 +423,12 @@ removeParam(uint16_t code, MC& codemap, MS& stringmap) { template inline bool -textToCode(const string& code_str, MS& stringmap, uint16_t& class_code) { +textToCode(const string& code_str, MS& stringmap, uint16_t& ret_code) { typename MS::const_iterator found; found = stringmap.find(code_str); if (found != stringmap.end()) { - class_code = found->second->code_; + ret_code = found->second->code_; return (true); } @@ -442,7 +442,7 @@ textToCode(const string& code_str, MS& stringmap, uint16_t& class_code) { l - PT::UNKNOWN_PREFIXLEN())); iss >> dec >> code; if (iss.rdstate() == ios::eofbit && code <= PT::MAX_CODE) { - class_code = code; + ret_code = code; return (true); } }