[svn-commits] qwell: branch 1.4 r61705 - in /branches/1.4: ./ main/loader.c

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


Author: qwell
Date: Fri Apr 20 16:15:29 2007
New Revision: 61705

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

........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/main/loader.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/main/loader.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/loader.c?view=diff&rev=61705&r1=61704&r2=61705
==============================================================================
--- branches/1.4/main/loader.c (original)
+++ branches/1.4/main/loader.c Fri Apr 20 16:15:29 2007
@@ -530,6 +530,7 @@
 		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 @@
 			res = 2;	/* found and reloaded */
 		}
 	}
-	ast_lastreloadtime = time(NULL);
 
 	if (name && res) {
 		ast_mutex_unlock(&reloadlock);



More information about the svn-commits mailing list