Fix Svace issues in wifi_test.c
authorSeongil Hahm <seongil.hahm@samsung.com>
Thu, 14 Sep 2017 09:35:15 +0000 (02:35 -0700)
committerSeongil Hahm <seongil.hahm@samsung.com>
Thu, 14 Sep 2017 09:35:15 +0000 (02:35 -0700)
commitd8d47355afbcaf4449186d4acf1b403353d60b8a
tree33013793a2db82c5c430bc96fa4851088d374abd
parent37daacb69bba6d01a6dd1f1c6f3bd63e00d695bf
Fix Svace issues in wifi_test.c

1. use strncat instead of strcat.
2. use snprintf instead of sprintf
3. close socket fd when send() fails.
apps/examples/wifi_test/wifi_test.c