[Asterisk-cvs] asterisk/pbx pbx_ael.c,1.19,1.20

markster markster
Sat Nov 12 21:28:58 CST 2005


Update of /usr/cvsroot/asterisk/pbx
In directory mongoose.digium.com:/tmp/cvs-serv27950/pbx

Modified Files:
	pbx_ael.c 
Log Message:
Never call load_module / unload_module


Index: pbx_ael.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_ael.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- pbx_ael.c	11 Nov 2005 00:14:13 -0000	1.19
+++ pbx_ael.c	13 Nov 2005 02:19:14 -0000	1.20
@@ -1259,8 +1259,8 @@
 
 int reload(void)
 {
-	unload_module();
-	return (load_module());
+	ast_context_destroy(NULL, registrar);
+	return pbx_load_module();
 }
 
 int usecount(void)




More information about the svn-commits mailing list