[svn-commits] qwell: branch 1.2 r61704 - /branches/1.2/loader.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Fri Apr 20 14:14:27 MST 2007


Author: qwell
Date: Fri Apr 20 16:14:27 2007
New Revision: 61704

URL: http://svn.digium.com/view/asterisk?view=rev&rev=61704
Log:
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.

Modified:
    branches/1.2/loader.c

Modified: branches/1.2/loader.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/loader.c?view=diff&rev=61704&r1=61703&r2=61704
==============================================================================
--- branches/1.2/loader.c (original)
+++ branches/1.2/loader.c Fri Apr 20 16:14:27 2007
@@ -215,6 +215,8 @@
 		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 @@
 		dnsmgr_reload();
 		reloaded = 2;
 	}
-	time(&ast_lastreloadtime);
 
 	ast_mutex_lock(&modlock);
 	oldversion = modlistver;



More information about the svn-commits mailing list