apps iperf: Fix abort when iperf_connect fails
authorEunBong Song <eunb.song@samsung.com>
Mon, 24 Jul 2017 10:57:29 +0000 (03:57 -0700)
committerEunBong Song <eunb.song@samsung.com>
Wed, 30 Aug 2017 04:15:46 +0000 (21:15 -0700)
commit13ae3a50f715b2d79d85bf40b8d2ab827e3cd44f
tree9e956017b0c37d265d6414a0e951ad33e1feacfd
parent8ac53cfbf87cb028af7b4bf7fb5d3f3700544308
apps iperf: Fix abort when iperf_connect fails

if iperf_connect fails, it crashes in test->reporter_callback functions.
This patch fixes this problem.
And current iperf_client_end() try to send state after close ctrl socket.
This problem is also fixed by this patch.

Change-Id: I965e3e2b40f1e7e19d913342888c6fc43fa12675
Signed-off-by: EunBong Song <eunb.song@samsung.com>
apps/examples/iperf/iperf_client_api.c