DDVSocket edits
This commit is contained in:
parent
708829b5a9
commit
3539e95f07
2 changed files with 7 additions and 4 deletions
|
@ -484,7 +484,7 @@ chunkpack getWholeChunk(){
|
|||
if (!clean){gwc_complete.data = 0; clean = true;}//prevent brain damage
|
||||
chunkpack * ret = 0;
|
||||
scrubChunk(gwc_complete);
|
||||
while (counter < 10000){
|
||||
while (counter < 1000){
|
||||
gwc_next = getChunk();
|
||||
ret = AddChunkPart(gwc_next);
|
||||
scrubChunk(gwc_next);
|
||||
|
@ -493,7 +493,7 @@ chunkpack getWholeChunk(){
|
|||
free(ret);//cleanup returned chunk
|
||||
return gwc_complete;
|
||||
}
|
||||
if (socketError){break;}
|
||||
if (socketError || socketBlocking){break;}
|
||||
counter++;
|
||||
}
|
||||
gwc_complete.msg_type_id = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue