This commit is contained in:
Thulinma 2010-11-08 21:23:20 +01:00
parent ab50f37c4e
commit 4dec919890

View file

@ -35,6 +35,7 @@ bool ReadUntil(char * buffer, unsigned int count, unsigned int & sofar, int sock
if (sofar >= count){return true;}
int r = 0;
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 (errno != EWOULDBLOCK){
All_Hell_Broke_Loose = true;