[asterisk-commits] branch 1.2 r10464 - /branches/1.2/apps/app_voicemail.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Feb 19 10:26:33 MST 2006


Author: tilghman
Date: Sun Feb 19 11:26:31 2006
New Revision: 10464

URL: http://svn.digium.com/view/asterisk?rev=10464&view=rev
Log:
Fix possible lack of initialization of useadsi

Modified:
    branches/1.2/apps/app_voicemail.c

Modified: branches/1.2/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_voicemail.c?rev=10464&r1=10463&r2=10464&view=diff
==============================================================================
--- branches/1.2/apps/app_voicemail.c (original)
+++ branches/1.2/apps/app_voicemail.c Sun Feb 19 11:26:31 2006
@@ -4945,7 +4945,7 @@
 			   struct ast_vm_user *res_vmu, const char *context, const char *prefix,
 			   int skipuser, int maxlogins, int silent)
 {
-	int useadsi, valid=0, logretries=0;
+	int useadsi=0, valid=0, logretries=0;
 	char password[AST_MAX_EXTENSION]="", *passptr;
 	struct ast_vm_user vmus, *vmu = NULL;
 



More information about the asterisk-commits mailing list