1
1

Bytes == 0 is no longer notable; bytes < 0 remains so.

Этот коммит содержится в:
Jef Poskanzer 2013-05-08 18:45:25 -07:00
родитель 854088329a
Коммит d95da48aee

Просмотреть файл

@ -1427,8 +1427,8 @@ iperf_print_intermediate(struct iperf_test *test)
if (test->protocol->id == Ptcp && has_tcpinfo_retransmits())
retransmits += irp->this_retrans;
}
if (bytes <=0) { /* this can happen if timer goes off just when client exits */
iperf_err(test, "error: bytes <= 0!");
if (bytes < 0) { /* this can happen if timer goes off just when client exits */
iperf_err(test, "error: bytes < 0!");
return;
}
/* next build string with sum of all streams */