]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
punt without return
authorBrian West <brian@freeswitch.org>
Fri, 28 Jun 2013 14:48:28 +0000 (09:48 -0500)
committerBrian West <brian@freeswitch.org>
Fri, 28 Jun 2013 14:48:49 +0000 (09:48 -0500)
src/switch_core_media_bug.c

index 0ad3f11183f7f66195268cf3ae1653f4aadd8425..9831d0099f79b50522b2e1eb798841adb37ca829 100644 (file)
@@ -430,6 +430,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_bug_add(switch_core_session_t
        
        if (punt) {
                switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Only one bug of this type allowed!\n");
+               return SWITCH_STATUS_GENERR;
        }