diff options
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e385ddb53..f96a80f3b 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -33152,10 +33152,8 @@ static char *sip_reload(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a /*! \brief Part of Asterisk module interface */ static int reload(void) { - if (sip_reload(0, 0, NULL)) { - return 0; - } - return 1; + sip_reload(0, 0, NULL); + return AST_MODULE_LOAD_SUCCESS; } /*! \brief Return the first entry from ast_sockaddr_resolve filtered by address family |