提交 d219386b authored 作者: Anthony Minessale's avatar Anthony Minessale

remove duplicate memset

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14230 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 743cb130
......@@ -21,7 +21,6 @@ ESLconnection::ESLconnection(const char *host, const char *port, const char *pas
ESLconnection::ESLconnection(int socket)
{
connection_construct_common();
memset(&handle, 0, sizeof(handle));
esl_attach_handle(&handle, (esl_socket_t)socket, NULL);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论