Skip to content

Commit

Permalink
fix bug: update send_byte
Browse files Browse the repository at this point in the history
  • Loading branch information
willzhang4a58 committed Oct 13, 2016
1 parent 36b015f commit 2b98748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/van.cc
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void Van::Stop() {
int Van::Send(const Message& msg) {
int send_bytes = SendMsg(msg);
CHECK_NE(send_bytes, -1);
send_bytes_ += send_bytes_;
send_bytes_ += send_bytes;
if (resender_) resender_->AddOutgoing(msg);
if (Postoffice::Get()->verbose() >= 2) {
PS_VLOG(2) << msg.DebugString();
Expand Down

0 comments on commit 2b98748

Please sign in to comment.