summaryrefslogtreecommitdiff
path: root/cryptlib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cryptlib.cpp')
-rw-r--r--cryptlib.cpp6
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;
}