good measure

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10490 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-11-21 14:25:24 +00:00
parent 6faf1da26f
commit 3df4810b03
1 changed files with 5 additions and 2 deletions

View File

@ -1007,8 +1007,11 @@ SWITCH_DECLARE(void) switch_rtp_break(switch_rtp_t *rtp_session)
if (rtp_session->sock_input) {
char o[4] = "DOH";
switch_size_t len = sizeof(o);
switch_size_t len;
len = sizeof(o);
switch_socket_sendto(rtp_session->sock_input, rtp_session->local_addr, 0, (void *) o, &len);
len = sizeof(o);
switch_socket_sendto(rtp_session->sock_input, rtp_session->local_addr, 0, (void *) o, &len);
}
switch_mutex_unlock(rtp_session->flag_mutex);