Merge pull request #1209 from esnet/add-comment
Add comment to clean_up_and_fail
Этот коммит содержится в:
Коммит
b3ab30cbc3
@ -656,6 +656,8 @@ iperf_run_client(struct iperf_test * test)
|
||||
cJSON_AddStringToObject(test->json_top, "error", iperf_strerror(i_errno));
|
||||
iperf_json_finish(test);
|
||||
iflush(test);
|
||||
// Return 0 and not -1 since all terminating function were done here.
|
||||
// Also prevents error message logging outside the already closed JSON output.
|
||||
return 0;
|
||||
}
|
||||
iflush(test);
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user