]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
lisdexic
authorAnthony Minessale <anthony.minessale@gmail.com>
Sat, 7 Feb 2009 21:22:12 +0000 (21:22 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Sat, 7 Feb 2009 21:22:12 +0000 (21:22 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11682 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_play_say.c

index a81c0016eb650790bc9433707f367477b349c22a..c61126284dbad5d62755fb5e5bbebce32989424c 100644 (file)
@@ -421,7 +421,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_file(switch_core_session_t *se
        }
 
        vval = switch_channel_get_variable(channel, "enable_file_write_buffering");
-       if (!vval || !switch_true(vval)) {
+       if (!vval || switch_true(vval)) {
                fh->pre_buffer_datalen = SWITCH_DEFAULT_FILE_BUFFER_LEN;
        }