|
|
@@ -277,10 +277,7 @@ main (int argc, char **argv)
|
|
|
memcpy(&status[len], buffer, i);
|
|
|
len += i;
|
|
|
|
|
|
- /* stop reading if user-forced or data-starved */
|
|
|
- if(i < sizeof(buffer) || (maxbytes && len >= maxbytes))
|
|
|
- break;
|
|
|
-
|
|
|
+ /* stop reading if user-forced */
|
|
|
if (maxbytes && len >= maxbytes)
|
|
|
break;
|
|
|
}
|