]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8316 fixed new build warning from latest clang
authorWilliam King <william.king@quentustech.com>
Wed, 7 Oct 2015 17:34:45 +0000 (10:34 -0700)
committerWilliam King <william.king@quentustech.com>
Wed, 7 Oct 2015 17:35:46 +0000 (10:35 -0700)
src/switch_core_media.c

index b99204de1b7ed2311dd7a563c5f45652633a50b5..651298d5dab9ad9ed5a4dc8b44f9140a5f8d9dda 100644 (file)
@@ -1429,7 +1429,7 @@ SWITCH_DECLARE(void) switch_core_session_check_outgoing_crypto(switch_core_sessi
        switch_media_handle_t *smh;
        int i;
 
-       if (!switch_core_session_media_handle_ready(session) == SWITCH_STATUS_SUCCESS) {
+       if (switch_core_session_media_handle_ready(session) != SWITCH_STATUS_SUCCESS) {
                return;
        }