]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
OMFG one annoying bang
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 9 Sep 2011 16:34:34 +0000 (11:34 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 9 Sep 2011 16:34:41 +0000 (11:34 -0500)
src/switch_rtp.c

index 02c440ca6f51fd66b6144d882860477849ce176d..f893e17a45d7f0ca9e8da101bf88c75e057fb60a 100644 (file)
@@ -2255,7 +2255,7 @@ static void do_2833(switch_rtp_t *rtp_session, switch_core_session_t *session)
        switch_frame_flag_t flags = 0;
        uint32_t samples = rtp_session->samples_per_interval;
 
-       if (!rtp_session->sending_dtmf > 1) {
+       if (rtp_session->sending_dtmf > 1) {
                rtp_session->sending_dtmf--;
                return;
        }