Gadver
This commit is contained in:
parent
2f23d1abe9
commit
644bda4e0d
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ bool FLV_Isheader(char * header){
|
||||||
bool ReadUntil(char * buffer, unsigned int count, unsigned int & sofar, int sock){
|
bool ReadUntil(char * buffer, unsigned int count, unsigned int & sofar, int sock){
|
||||||
if (sofar >= count){return true;}
|
if (sofar >= count){return true;}
|
||||||
bool r = DDV_read(buffer + sofar,count-sofar,sock);
|
bool r = DDV_read(buffer + sofar,count-sofar,sock);
|
||||||
|
sofar = count;
|
||||||
fprintf(stderr, "Reading %i/%i\n", sofar, count);
|
fprintf(stderr, "Reading %i/%i\n", sofar, count);
|
||||||
if (!r){
|
if (!r){
|
||||||
All_Hell_Broke_Loose = true;
|
All_Hell_Broke_Loose = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue