[Sumover-dev] [svn commit] r4790 - vic/branches/cc/rtp

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Thu Apr 29 17:04:58 BST 2010


Author: soohyunc
Date: Thu Apr 29 17:04:58 2010
New Revision: 4790

Modified:
   vic/branches/cc/rtp/transmitter.cpp

Log:
there was a mistake (when deciding this packet can be sent).



Modified: vic/branches/cc/rtp/transmitter.cpp
==============================================================================
--- vic/branches/cc/rtp/transmitter.cpp	(original)
+++ vic/branches/cc/rtp/transmitter.cpp	Thu Apr 29 17:04:58 2010
@@ -325,7 +325,7 @@
 	{
 		int len = 0;
 		if(pb->len < tfwc_bmagic() - len) {
-			len = pb->len;
+			len += pb->len;
 			// move head pointer
 			head_ = pb->next;
 			// call Transmitter::output_data_only w/ XR reception
@@ -377,7 +377,7 @@
 	{
 		int len = 0;
 		while(pb->len < tfwc_bmagic() - len) {
-			len = pb->len;
+			len += pb->len;
 			// move head pointer
 			head_ = pb->next;
 			// call Transmitter::output(pb)



More information about the Sumover-dev mailing list