From cdaa2abe850ab7100732b72386b3b93ea5a7f5d9 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 19 Sep 2007 18:49:59 +0000 Subject: [PATCH] fix for MODENDP-25 from Bret McDanel. 1 byte makes all the difference git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5721 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_alsa/mod_alsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_alsa/mod_alsa.c b/src/mod/endpoints/mod_alsa/mod_alsa.c index dcb3e0aed8..1ad2611d71 100644 --- a/src/mod/endpoints/mod_alsa/mod_alsa.c +++ b/src/mod/endpoints/mod_alsa/mod_alsa.c @@ -1487,7 +1487,7 @@ static switch_status_t place_call(char **argv, int argc, switch_stream_handle_t 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]); }