changeset 12640:7513f753af91

tcp fragging bugfix by Song Du <freewizard at gmail.com>
author alex
date Fri, 25 Jun 2004 15:21:43 +0000
parents 1f7413e7d755
children 61f3fce1e933
files libmpdemux/netstream.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/netstream.h	Fri Jun 25 15:19:11 2004 +0000
+++ b/libmpdemux/netstream.h	Fri Jun 25 15:21:43 2004 +0000
@@ -53,6 +53,7 @@
       return 0;
     }
     len -= r;
+    buf += r;
   }
   return 1;
 }
@@ -103,6 +104,7 @@
       return 0;
     }
     len -= w;
+    buf += w;
   }
   return 1;
 }