mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 19:08:14 +00:00
Fix an issue that I noticed while looking over issue 9571.
The reload timestamp was getting set after reloading the built-in stuff, and before the modules. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@61704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
3
loader.c
3
loader.c
@@ -215,6 +215,8 @@ int ast_module_reload(const char *name)
|
||||
ast_verbose("The previous reload command didn't finish yet\n");
|
||||
return -1;
|
||||
}
|
||||
time(&ast_lastreloadtime);
|
||||
|
||||
if (!name || !strcasecmp(name, "extconfig")) {
|
||||
read_config_maps();
|
||||
reloaded = 2;
|
||||
@@ -239,7 +241,6 @@ int ast_module_reload(const char *name)
|
||||
dnsmgr_reload();
|
||||
reloaded = 2;
|
||||
}
|
||||
time(&ast_lastreloadtime);
|
||||
|
||||
ast_mutex_lock(&modlock);
|
||||
oldversion = modlistver;
|
||||
|
||||
Reference in New Issue
Block a user