mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-23 03:33:48 +00:00
Tue May 12 13:04:33 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport_type_udp.c: tport_check_trunc() cleaned code Ignore-this: b39558360afb657325a4615d0919baaa Coverity issue. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13327 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
27c334d8e0
commit
0106f699e6
@ -1 +1 @@
|
|||||||
Fri May 15 10:53:11 CDT 2009
|
Fri May 15 10:54:18 CDT 2009
|
||||||
|
@ -254,7 +254,6 @@ static void tport_check_trunc(tport_t *tp, su_addrinfo_t *ai)
|
|||||||
if (n != 4)
|
if (n != 4)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for (;;) {
|
|
||||||
n = su_recvfrom(tp->tp_socket, buffer, sizeof buffer, MSG_TRUNC,
|
n = su_recvfrom(tp->tp_socket, buffer, sizeof buffer, MSG_TRUNC,
|
||||||
(void *)&su, &sulen);
|
(void *)&su, &sulen);
|
||||||
|
|
||||||
@ -264,9 +263,6 @@ static void tport_check_trunc(tport_t *tp, su_addrinfo_t *ai)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* XXX - check that su and tp->tp_addrinfo->ai_addr match */
|
/* XXX - check that su and tp->tp_addrinfo->ai_addr match */
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user