Fix Svace issues in webclient/webserver/websocket examples.
authorSeongil Hahm <seongil.hahm@samsung.com>
Sat, 16 Sep 2017 08:01:53 +0000 (01:01 -0700)
committerSeongil Hahm <seongil.hahm@samsung.com>
Mon, 18 Sep 2017 05:58:05 +0000 (22:58 -0700)
commit5a892e759ae98790d7503b52e9b8ef676bd680e6
tree1fdea11d531b40e34ffb9ef17731f924827e6225
parent599bcc96e79aec7188c5f89fbeaa05d5db623b36
Fix Svace issues in webclient/webserver/websocket examples.

1. Use strncmp instead of strcmp
2. Delete duplicated usage print webclient example
3. Free malloced variables before a function returns
apps/examples/webclient/webclient_main.c
apps/examples/webserver/webserver_main.c
apps/examples/websocket/websocket_main.c