Gadver
This commit is contained in:
parent
ab50f37c4e
commit
4dec919890
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ bool ReadUntil(char * buffer, unsigned int count, unsigned int & sofar, int sock
|
||||||
if (sofar >= count){return true;}
|
if (sofar >= count){return true;}
|
||||||
int r = 0;
|
int r = 0;
|
||||||
r = DDV_iread(buffer + sofar,count-sofar,sock);
|
r = DDV_iread(buffer + sofar,count-sofar,sock);
|
||||||
|
fprintf(stderr, "Reading %i/%i, read %i, at %i\n", count, sofar, r, buffer+sofar);
|
||||||
if (r < 0){
|
if (r < 0){
|
||||||
if (errno != EWOULDBLOCK){
|
if (errno != EWOULDBLOCK){
|
||||||
All_Hell_Broke_Loose = true;
|
All_Hell_Broke_Loose = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue