summaryrefslogtreecommitdiff
path: root/src/ChunkChecksum.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-01-05 16:01:46 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-01-05 16:01:46 +0000
commit4db349c1f32b4a313d12d114137432441633d00a (patch)
tree417451971e264834312cfd8339c79930d680a5d1 /src/ChunkChecksum.h
parent338e8aca09331d3e7fa4e1e8e1f9d10260986772 (diff)
2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Untabify. Fixed one line in copyright which is longer than 80 columns. * src * test
Diffstat (limited to 'src/ChunkChecksum.h')
-rw-r--r--src/ChunkChecksum.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ChunkChecksum.h b/src/ChunkChecksum.h
index 1387e47b..19b71eab 100644
--- a/src/ChunkChecksum.h
+++ b/src/ChunkChecksum.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* In addition, as a special exception, the copyright holders give
* permission to link the code of portions of this program with the
@@ -52,14 +52,14 @@ public:
ChunkChecksum():_checksumLength(0) {}
ChunkChecksum(const std::string& algo,
- const std::deque<std::string>& checksums,
- size_t checksumLength):
+ const std::deque<std::string>& checksums,
+ size_t checksumLength):
_algo(algo),
_checksums(checksums),
_checksumLength(checksumLength) {}
bool validateChunk(const std::string& actualChecksum,
- size_t checksumIndex) const
+ size_t checksumIndex) const
{
if(checksumIndex < _checksums.size()) {
return actualChecksum == getChecksum(checksumIndex);