[asterisk-commits] dlee: trunk r386684 - /trunk/main/loader.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Apr 26 16:31:43 CDT 2013


Author: dlee
Date: Fri Apr 26 16:31:39 2013
New Revision: 386684

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=386684
Log:
By popular demand, putting the about-to-load-module printf back.

But now it only prints during the initial startup, and prints at verbose 1
level.

Modified:
    trunk/main/loader.c

Modified: trunk/main/loader.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/loader.c?view=diff&rev=386684&r1=386683&r2=386684
==============================================================================
--- trunk/main/loader.c (original)
+++ trunk/main/loader.c Fri Apr 26 16:31:39 2013
@@ -842,6 +842,9 @@
 		return AST_MODULE_LOAD_FAILURE;
 	}
 
+	if (!ast_fully_booted) {
+		ast_verb(1, "Loading %s.\n", mod->resource);
+	}
 	res = mod->info->load();
 
 	switch (res) {




More information about the asterisk-commits mailing list