summaryrefslogtreecommitdiff
path: root/pbx/pbx_dundi.c
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2007-12-26 20:02:27 +0000
committerJason Parker <jparker@digium.com>2007-12-26 20:02:27 +0000
commiteea428cf76de792f614e314bfeeb0b2eaccfe48b (patch)
tree3713c05a6de35fa07fef058395c44f56f2b0e69d /pbx/pbx_dundi.c
parenta2b091b66486e3c20168f36cefb0a734d6b47aac (diff)
Use defined return values in load_module in more places.
(closes issue #11096) Patches: pbx_config.c.patch uploaded by moy (license 222) pbx_dundi.c.patch uploaded by moy (license 222) pbx_gtkconsole.c.patch uploaded by moy (license 222) pbx_loopback.c.patch uploaded by moy (license 222) pbx_realtime.c.patch uploaded by moy (license 222) pbx_spool.c.patch uploaded by moy (license 222) app_adsiprog.c.patch uploaded by moy (license 222) app_alarmreceiver.c.patch uploaded by moy (license 222) app_amd.c.patch uploaded by moy (license 222) app_authenticate.c.patch uploaded by moy (license 222) app_cdr.c.patch uploaded by moy (license 222) app_zapateller.c.patch uploaded by moy (license 222) app_zapbarge.c.patch uploaded by moy (license 222) app_zapras.c.patch uploaded by moy (license 222) app_zapscan.c.patch uploaded by moy (license 222) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_dundi.c')
-rw-r--r--pbx/pbx_dundi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index fe1fec749..62e55abf9 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -4779,9 +4779,9 @@ static int reload(void)
struct sockaddr_in sin;
if (set_config("dundi.conf", &sin, 1))
- return -1;
+ return AST_MODULE_LOAD_FAILURE;
- return 0;
+ return AST_MODULE_LOAD_SUCCESS;
}
static int load_module(void)