From: kmook Date: Fri, 30 Sep 2016 01:55:39 +0000 (+0900) Subject: Applied initialize to client_connect_info X-Git-Tag: accepted/tizen/3.0/mobile/20161015.032857^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb10bce788c69394ff7ae1168d8b9373b594387a;p=platform%2Fcore%2Fconvergence%2Fd2d-conv-manager.git Applied initialize to client_connect_info Change-Id: I33d098e285a2dad1a0b541ceef3561535618e8e3 Signed-off-by: kmook --- diff --git a/msf_tizen_client/src/Channel.cpp b/msf_tizen_client/src/Channel.cpp index eda4e09..f846b82 100755 --- a/msf_tizen_client/src/Channel.cpp +++ b/msf_tizen_client/src/Channel.cpp @@ -1252,6 +1252,8 @@ void Channel::create_websocket(void *att) { api.append("channels/").append(ChannelID); struct lws_client_connect_info connect_info; + memset(&connect_info, 0, sizeof(lws_client_connect_info)); + connect_info.context = Context; connect_info.address = server_ip_address.c_str(); connect_info.port = server_port;