Re-order one line to clarify code.
This commit is contained in:
parent
950f6c8f59
commit
adec7fe48b
@ -2040,9 +2040,8 @@ iperf_new_stream(struct iperf_test *test, int s)
|
||||
memset(sp, 0, sizeof(struct iperf_stream));
|
||||
|
||||
sp->test = test;
|
||||
sp->result = (struct iperf_stream_result *) malloc(sizeof(struct iperf_stream_result));
|
||||
sp->settings = test->settings;
|
||||
|
||||
sp->result = (struct iperf_stream_result *) malloc(sizeof(struct iperf_stream_result));
|
||||
if (!sp->result) {
|
||||
i_errno = IECREATESTREAM;
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user