bugs never end
authorVictor Grishchenko (mughal) <victor.grishchenko@gmail.com>
Fri, 26 Feb 2010 17:55:06 +0000 (18:55 +0100)
committerVictor Grishchenko (mughal) <victor.grishchenko@gmail.com>
Fri, 26 Feb 2010 17:55:06 +0000 (18:55 +0100)
sendrecv.cpp

index 8e8264b..38d5976 100644 (file)
@@ -388,7 +388,7 @@ void    Channel::OnAck (Datagram& dgram) {
         data_out_tmo_.push_back(data_out_.front().bin);
         dprintf("%s #%u Rdata %s\n",tintstr(),id_,data_out_.front().bin.str());
         data_out_cap_ = bin64_t::ALL;
-        data_out_[ri] = tintbin();
+        data_out_[re] = tintbin();
     }
     // clear zeroed items
     while (!data_out_.empty() && ( data_out_.front()==tintbin() ||