From 2c9f99274a48edc4ef171e532af6b02378835f06 Mon Sep 17 00:00:00 2001 From: Marc Laukien Date: Mon, 25 Feb 2002 10:16:26 +0000 Subject: fix --- cpp/src/IceUtil/Base64.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cpp/src/IceUtil/Base64.cpp') diff --git a/cpp/src/IceUtil/Base64.cpp b/cpp/src/IceUtil/Base64.cpp index 7f65da07865..be9622528e1 100644 --- a/cpp/src/IceUtil/Base64.cpp +++ b/cpp/src/IceUtil/Base64.cpp @@ -98,15 +98,15 @@ IceUtil::Base64::encode(const ByteSeq& plainSeq) } IceUtil::ByteSeq -IceUtil::Base64::decode(const string& _str) +IceUtil::Base64::decode(const string& s) { string str; - for (unsigned int j = 0; j < _str.length(); j++) + for (unsigned int j = 0; j < s.length(); j++) { - if (isBase64(_str[j])) + if (isBase64(s[j])) { - str += _str[j]; + str += s[j]; } } @@ -118,8 +118,8 @@ IceUtil::Base64::decode(const string& _str) } // Figure out how long the final sequence is going to be. - long lines = _str.size() / 78; - long totalBytes = (lines * 76) + (((_str.size() - (lines * 78)) * 3) / 4); + long lines = s.size() / 78; + long totalBytes = (lines * 76) + (((s.size() - (lines * 78)) * 3) / 4); retval.reserve(totalBytes); -- cgit v1.2.3