summaryrefslogtreecommitdiff
path: root/util/mongoutils/checksum.h
diff options
context:
space:
mode:
authorAntonin Kral <a.kral@bobek.cz>2011-03-17 00:05:43 +0100
committerAntonin Kral <a.kral@bobek.cz>2011-03-17 00:05:43 +0100
commit582fc32574a3b158c81e49cb00e6ae59205e66ba (patch)
treeac64a3243e0d2121709f685695247052858115c8 /util/mongoutils/checksum.h
parent2761bffa96595ac1698d86bbc2e95ebb0d4d6e93 (diff)
downloadmongodb-582fc32574a3b158c81e49cb00e6ae59205e66ba.tar.gz
Imported Upstream version 1.8.0
Diffstat (limited to 'util/mongoutils/checksum.h')
-rw-r--r--util/mongoutils/checksum.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/mongoutils/checksum.h b/util/mongoutils/checksum.h
index 6beb7f4..ea3d051 100644
--- a/util/mongoutils/checksum.h
+++ b/util/mongoutils/checksum.h
@@ -1,4 +1,4 @@
-/** @checksum.h */
+/** @file checksum.h */
/* Copyright 2009 10gen Inc.
*
@@ -22,7 +22,7 @@ namespace mongoutils {
/**
* this is a silly temporary implementation
*/
- inline int checksum( const char* x , int size ){
+ inline int checksum( const char* x , int size ) {
int ck = 0;
for ( int i=0; i<size; i++ )
ck += ( (int)x[i] * ( i + 1 ) );