mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
Merged revisions 75619 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r75619 | file | 2007-07-18 12:25:45 -0300 (Wed, 18 Jul 2007) | 2 lines Don't bother reloading chan_h323 if it did not load successfully in the first place. This would otherwise cause a crash. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3091,6 +3091,10 @@ static int h323_do_reload(void)
|
|||||||
|
|
||||||
static int reload(void)
|
static int reload(void)
|
||||||
{
|
{
|
||||||
|
if (!sched || !io) {
|
||||||
|
ast_log(LOG_NOTICE, "Unload and load chan_h323.so again in order to receive configuration changes.\n");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
return h323_reload(0, 0, NULL);
|
return h323_reload(0, 0, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user