diff options
author | Jason Parker <jparker@digium.com> | 2007-10-26 21:37:02 +0000 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2007-10-26 21:37:02 +0000 |
commit | c472a68a8ac833f7c986ed04cbfa785d0f2a2da8 (patch) | |
tree | b1108458720e17b700db0be4395b0272be1d3f92 /res/res_monitor.c | |
parent | c9f3efc3819c2939101b6fad9f659690c8a325a4 (diff) |
Correctly use defined return values in (some) load_module functions.
(issue #11096)
Patches:
chan_agent.c.patch uploaded by eliel (license 64)
chan_local.c.patch uploaded by eliel (license 64)
chan_features.c.patch uploaded by eliel (license 64)
chan_zap.c.patch uploaded by eliel (license 64)
res_monitor.c.patch uploaded by eliel (license 64)
res_realtime.c.patch uploaded by eliel (license 64)
res_crypto.c.patch uploaded by eliel (license 64)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_monitor.c')
-rw-r--r-- | res/res_monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_monitor.c b/res/res_monitor.c index e34b89a40..048bcf156 100644 --- a/res/res_monitor.c +++ b/res/res_monitor.c @@ -722,7 +722,7 @@ static int load_module(void) ast_manager_register2("PauseMonitor", EVENT_FLAG_CALL, pause_monitor_action, pausemonitor_synopsis, pause_monitor_action_help); ast_manager_register2("UnpauseMonitor", EVENT_FLAG_CALL, unpause_monitor_action, unpausemonitor_synopsis, unpause_monitor_action_help); - return 0; + return AST_MODULE_LOAD_SUCCESS; } static int unload_module(void) |