]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
misplaced ( )
authorMichael Jerris <mike@jerris.com>
Fri, 10 Oct 2008 18:42:29 +0000 (18:42 +0000)
committerMichael Jerris <mike@jerris.com>
Fri, 10 Oct 2008 18:42:29 +0000 (18:42 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9939 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_loadable_module.c

index d75b58df8153347c71949d2a894e302f7f0478a6..a95cb67df8dc1002dc65b72ac736a1a82b719ba7 100644 (file)
@@ -833,7 +833,7 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_load_module(char *dir, ch
                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Module %s Already Loaded!\n", file);
                *err = "Module already loaded";
                status = SWITCH_STATUS_FALSE;
-       } else if ((status = switch_loadable_module_load_file(path, file, &new_module) == SWITCH_STATUS_SUCCESS)) {
+       } else if ((status = switch_loadable_module_load_file(path, file, &new_module)) == SWITCH_STATUS_SUCCESS) {
                if ((status = switch_loadable_module_process(file, new_module)) == SWITCH_STATUS_SUCCESS && runtime) {
                        if (new_module->switch_module_runtime) {
                                switch_core_launch_thread(switch_loadable_module_exec, new_module, new_module->pool);