mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-01 02:52:32 +00:00
skypiax: shut up windows compiler
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16729 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
3b92634403
commit
3cc72e256a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user