diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-07-18 04:35:30 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-07-18 04:35:30 +0000 |
commit | a89df27c0f7ded0a673dc84ce0b0e24c6d05e0d0 (patch) | |
tree | a25c153b42dc3f510a7981a031bd04dfa0a7a712 /cryptlib.cpp | |
parent | 656db5504c8c656d3981fed232da44b2f28b1feb (diff) | |
download | cryptopp-a89df27c0f7ded0a673dc84ce0b0e24c6d05e0d0.tar.gz |
misc changes
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@103 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'cryptlib.cpp')
-rw-r--r-- | cryptlib.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cryptlib.cpp b/cryptlib.cpp index f3b3fde..cc1e3ce 100644 --- a/cryptlib.cpp +++ b/cryptlib.cpp @@ -359,12 +359,12 @@ unsigned int BufferedTransformation::TransferMessagesTo2(BufferedTransformation for (messageCount=0; messageCount < maxMessages && AnyMessages(); messageCount++) { unsigned int blockedBytes; - unsigned long transferedBytes; + unsigned long transferredBytes; while (AnyRetrievable()) { - transferedBytes = ULONG_MAX; - blockedBytes = TransferTo2(target, transferedBytes, channel, blocking); + transferredBytes = ULONG_MAX; + blockedBytes = TransferTo2(target, transferredBytes, channel, blocking); if (blockedBytes > 0) return blockedBytes; } |