projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
69824fd
)
Merge "chan_sip.c: Validation on module reload"
author
Matt Jordan
<mjordan@digium.com>
Fri, 11 Sep 2015 17:40:43 +0000
(12:40 -0500)
committer
Gerrit Code Review
<gerrit2@gerrit.digium.api>
Fri, 11 Sep 2015 17:40:43 +0000
(12:40 -0500)
channels/chan_sip.c
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
e385ddb
..
f96a80f
100644
(file)
--- 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