mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
A few more "moremanager" fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -37,6 +37,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#include "asterisk/config.h"
|
||||
#include "asterisk/sched.h"
|
||||
#include "asterisk/cli.h"
|
||||
#include "asterisk/manager.h"
|
||||
|
||||
static struct sched_context *sched;
|
||||
static int refresh_sched = -1;
|
||||
@@ -418,6 +419,7 @@ static int do_reload(int loading)
|
||||
res = 0;
|
||||
|
||||
ast_mutex_unlock(&refresh_lock);
|
||||
manager_event(EVENT_FLAG_SYSTEM, "Reload", "Module: DNSmgr\r\nStatus: %s\r/nMessage: DNSmgr reload Requested\r\n", enabled ? "Enabled" : "Disabled");
|
||||
|
||||
return res;
|
||||
}
|
||||
|
Reference in New Issue
Block a user