Gadver
This commit is contained in:
parent
eae7cd906c
commit
058096f5d5
1 changed files with 1 additions and 1 deletions
|
@ -33,9 +33,9 @@ bool FLV_Isheader(char * header){
|
|||
|
||||
bool ReadUntil(char * buffer, unsigned int count, unsigned int & sofar, int sock){
|
||||
if (sofar >= count){return true;}
|
||||
fprintf(stderr, "Reading %i/%i\n", sofar, count);
|
||||
bool r = DDV_read(buffer + sofar,count-sofar,sock);
|
||||
sofar = count;
|
||||
fprintf(stderr, "Reading %i/%i\n", sofar, count);
|
||||
if (!r){
|
||||
All_Hell_Broke_Loose = true;
|
||||
fprintf(stderr, "ReadUntil fail: %s. All Hell Broke Loose!\n", strerror(errno));
|
||||
|
|
Loading…
Add table
Reference in a new issue