1
1

Merge pull request #158 from esnet/features/issue-125

Fix rookie C mistake committed in revision d076653b as part of
Этот коммит содержится в:
Bruce A. Mah 2014-04-22 10:23:28 -07:00
родитель 54f2264730 721ffc1bc5
Коммит ab00852fe1

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

@ -2219,9 +2219,10 @@ print_interval_results(struct iperf_test *test, struct iperf_stream *sp, cJSON *
/* Interval, TCP with retransmits. */
if (test->json_output)
cJSON_AddItemToArray(json_interval_streams, iperf_json_printf("socket: %d start: %f end: %f seconds: %f bytes: %d bits_per_second: %f retransmits: %d snd_cwnd: %d omitted: %b", (int64_t) sp->socket, (double) st, (double) et, (double) irp->interval_duration, (int64_t) irp->bytes_transferred, bandwidth * 8, (int64_t) irp->interval_retrans, (int64_t) irp->snd_cwnd, irp->omitted));
else
else {
unit_snprintf(cbuf, UNIT_LEN, irp->snd_cwnd, 'A');
iprintf(test, report_bw_retrans_cwnd_format, sp->socket, st, et, ubuf, nbuf, irp->interval_retrans, cbuf, irp->omitted?report_omitted:"");
}
} else {
/* Interval, TCP without retransmits. */
if (test->json_output)