[asterisk-commits] file: branch file/usecnt-cleanup r56405 - /team/file/usecnt-cleanup/main/pbx.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Feb 23 13:11:51 MST 2007


Author: file
Date: Fri Feb 23 14:11:50 2007
New Revision: 56405

URL: http://svn.digium.com/view/asterisk?view=rev&rev=56405
Log:
Fix silly segfault bug.

Modified:
    team/file/usecnt-cleanup/main/pbx.c

Modified: team/file/usecnt-cleanup/main/pbx.c
URL: http://svn.digium.com/view/asterisk/team/file/usecnt-cleanup/main/pbx.c?view=diff&rev=56405&r1=56404&r2=56405
==============================================================================
--- team/file/usecnt-cleanup/main/pbx.c (original)
+++ team/file/usecnt-cleanup/main/pbx.c Fri Feb 23 14:11:50 2007
@@ -6002,7 +6002,7 @@
 	}
 	
 	/* Register manager application */
-	ast_manager_register2("ShowDialPlan", EVENT_FLAG_CONFIG, manager_show_dialplan, "List dialplan", mandescr_show_dialplan);
+	__ast_manager_register2("ShowDialPlan", EVENT_FLAG_CONFIG, manager_show_dialplan, "List dialplan", mandescr_show_dialplan, NULL);
 	return 0;
 }
 



More information about the asterisk-commits mailing list