Permalink
Browse files

Fix nSendBytes

  • Loading branch information...
Tranz5 committed Aug 23, 2014
1 parent c8e919d commit c7a97efc10c8d894908bdae9a200684a31c9dde9
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/net.cpp
View
@@ -724,6 +724,7 @@ void SocketSendData(CNode *pnode)
if (nBytes > 0) {
pnode->nLastSend = GetTime();
pnode->nSendOffset += nBytes;
pnode->nSendBytes += nBytes;
if (pnode->nSendOffset == data.size()) {
pnode->nSendOffset = 0;
pnode->nSendSize -= data.size();

0 comments on commit c7a97ef

Please sign in to comment.