From 23758b19654f0f0a4c54bac495a4de72521c6d35 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 3 Oct 2007 01:10:29 +0000 Subject: [PATCH] small fix git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5783 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_portaudio/mod_portaudio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_portaudio/mod_portaudio.c b/src/mod/endpoints/mod_portaudio/mod_portaudio.c index c8b0bfeb2f..f6df069639 100644 --- a/src/mod/endpoints/mod_portaudio/mod_portaudio.c +++ b/src/mod/endpoints/mod_portaudio/mod_portaudio.c @@ -1595,8 +1595,8 @@ static switch_status_t place_call(char **argv, int argc, switch_stream_handle_t if (!switch_strlen_zero(argv[4])) { tech_pvt->sample_rate = atoi(argv[4]); } - - if (!switch_strlen_zero(argv[4])) { + + if (!switch_strlen_zero(argv[5])) { tech_pvt->codec_ms = atoi(argv[5]); }