[asterisk-commits] trunk - r7391 /trunk/apps/app_db.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Dec 8 11:52:47 CST 2005


Author: russell
Date: Thu Dec  8 11:52:43 2005
New Revision: 7391

URL: http://svn.digium.com/view/asterisk?rev=7391&view=rev
Log:
fix a bug from the recent removal of deprecated applications by initializing
a variable on its first use (issue #5951)

Modified:
    trunk/apps/app_db.c

Modified: trunk/apps/app_db.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_db.c?rev=7391&r1=7390&r2=7391&view=diff
==============================================================================
--- trunk/apps/app_db.c (original)
+++ trunk/apps/app_db.c Thu Dec  8 11:52:43 2005
@@ -164,7 +164,7 @@
 {
 	int retval;
 
-	retval |= ast_register_application(d_app, del_exec, d_synopsis, d_descrip);
+	retval = ast_register_application(d_app, del_exec, d_synopsis, d_descrip);
 	retval |= ast_register_application(dt_app, deltree_exec, dt_synopsis, dt_descrip);
 	
 	return retval;



More information about the asterisk-commits mailing list