提交 3cc72e25 authored 作者: Giovanni Maruzzelli's avatar Giovanni Maruzzelli

skypiax: shut up windows compiler

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16729 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 3b926344
......@@ -54,8 +54,11 @@ int skypiax_socket_create_and_bind(private_t * tech_pvt, unsigned short *which_p
if (*which_port != 0)
start_port = *which_port;
start_port=next_port();
#ifdef WIN32
start_port=(unsigned short)next_port();
#else
start_port=(unsigned short)next_port();
#endif
my_addr.sin_port = htons(start_port);
//fcntl(s, F_SETFL, O_NONBLOCK);
//tech_pvt->tcp_cli_port = start_port;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论