diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-20 21:15:29 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-20 21:15:29 +0000 |
commit | 7869a716574010f4cae8ce4e1475e6ed8cee100a (patch) | |
tree | fe24f92329576f4626e0243ed9f5930945c3a5f7 /main | |
parent | 46a4df7f160f347ca16caea27e8c2da0a34ad14f (diff) |
Merged revisions 61704 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r61704 | qwell | 2007-04-20 16:14:27 -0500 (Fri, 20 Apr 2007) | 4 lines
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: http://svn.digium.com/svn/asterisk/branches/1.4@61705 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/loader.c b/main/loader.c index 6717a4699..d0fb2e33a 100644 --- a/main/loader.c +++ b/main/loader.c @@ -530,6 +530,7 @@ int ast_module_reload(const char *name) ast_verbose("The previous reload command didn't finish yet\n"); return -1; /* reload already in progress */ } + ast_lastreloadtime = time(NULL); /* Call "predefined" reload here first */ for (i = 0; reload_classes[i].name; i++) { @@ -538,7 +539,6 @@ int ast_module_reload(const char *name) res = 2; /* found and reloaded */ } } - ast_lastreloadtime = time(NULL); if (name && res) { ast_mutex_unlock(&reloadlock); |