]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8190: fix build regression from original FS-8190 commit
authorMichael Jerris <mike@jerris.com>
Wed, 23 Sep 2015 21:40:13 +0000 (16:40 -0500)
committerMichael Jerris <mike@jerris.com>
Wed, 23 Sep 2015 21:40:13 +0000 (16:40 -0500)
src/mod/event_handlers/mod_rayo/mod_rayo.c

index 60224cd9dbff347d8cf1f2d1242255d147c96931..11828ce32832e99c3e1205edf1f994f5cb6251fb 100644 (file)
@@ -5273,10 +5273,11 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_rayo_load)
  * Shutdown module.  Notifies threads to stop.
  */
 SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_rayo_shutdown)
-{
+{      
+       switch_status_t result;
+
        switch_event_free_subclass("rayo::cpa");
-       
-       switch_status_t result = do_shutdown();
+       result = do_shutdown();
        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Module shutdown\n");
        return result;
 }