mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
fix build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8642 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
a36ff2d330
commit
ce9ccd4ae7
@ -185,11 +185,11 @@ int su_wait_create(su_wait_t *newwait, su_socket_t socket, int events)
|
||||
int su_wait_destroy(su_wait_t *waitobj)
|
||||
{
|
||||
#if SU_HAVE_WINSOCK
|
||||
su_wait_t w0 = NULL;
|
||||
assert(waitobj != NULL);
|
||||
if (*waitobj)
|
||||
WSACloseEvent(*waitobj);
|
||||
#else
|
||||
su_wait_t w0 = NULL;
|
||||
su_wait_t w0 = { INVALID_SOCKET, 0, 0 };
|
||||
assert(waitobj != NULL);
|
||||
*waitobj = w0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user