aboutsummaryrefslogtreecommitdiffstats
path: root/main/loader.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-20 21:16:14 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-20 21:16:14 +0000
commite12ada37118ab08da3bccdbc08ee34b86f9c85da (patch)
treefab074e77dff26215d34a8501947ab4affb20eb4 /main/loader.c
parent8d14d2255818deacb493ff997938be8fa9786de6 (diff)
Merged revisions 61705 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r61705 | qwell | 2007-04-20 16:15:29 -0500 (Fri, 20 Apr 2007) | 12 lines 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/trunk@61706 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/loader.c')
-rw-r--r--main/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/loader.c b/main/loader.c
index ebad7fda6..e167f474e 100644
--- a/main/loader.c
+++ b/main/loader.c
@@ -529,6 +529,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++) {
@@ -537,7 +538,6 @@ int ast_module_reload(const char *name)
res = 2; /* found and reloaded */
}
}
- ast_lastreloadtime = time(NULL);
if (name && res) {
ast_mutex_unlock(&reloadlock);