tcp fragging bugfix by Song Du <freewizard at gmail.com>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12641 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2004-06-25 15:21:43 +00:00
parent c664d580c2
commit 38bc7729f5
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@ static int net_read(int fd, char* buf, int len) {
return 0;
}
len -= r;
buf += r;
}
return 1;
}
@ -103,6 +104,7 @@ static int net_write(int fd, char* buf, int len) {
return 0;
}
len -= w;
buf += w;
}
return 1;
}