projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Add -a/-b to memcacpable to test either ascii or binary protocol
[m6w6/libmemcached]
/
libhashkit
/
md5.c
diff --git
a/libhashkit/md5.c
b/libhashkit/md5.c
index a968548d6c8958df8a6499048143a09be37122ab..7371c6d1093235c2222152007bbdb7d976685afc 100644
(file)
--- a/
libhashkit/md5.c
+++ b/
libhashkit/md5.c
@@
-169,8
+169,8
@@
static void MD5Update (
/* Update number of bits */
if ((context->count[0] += ((UINT4)inputLen << 3))
/* Update number of bits */
if ((context->count[0] += ((UINT4)inputLen << 3))
- < ((UINT4)inputLen << 3))
- context->count[1]++;
+
< ((UINT4)inputLen << 3))
+
context->count[1]++;
context->count[1] += ((UINT4)inputLen >> 29);
partLen = 64 - idx;
context->count[1] += ((UINT4)inputLen >> 29);
partLen = 64 - idx;