temporary workaround for seg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4747 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
8607209400
commit
848f8d43f8
|
@ -259,6 +259,10 @@ int tport_recv_dgram(tport_t *self)
|
|||
msg = self->tp_msg;
|
||||
|
||||
ai = msg_addrinfo(msg);
|
||||
|
||||
if (!ai)
|
||||
return -1;
|
||||
|
||||
from = (su_sockaddr_t *)ai->ai_addr, fromlen = (socklen_t)(ai->ai_addrlen);
|
||||
|
||||
n = su_vrecv(self->tp_socket, iovec, veclen, 0, from, &fromlen);
|
||||
|
|
Loading…
Reference in New Issue