[Asterisk-cvs] asterisk/apps app_disa.c,1.46,1.47

kpfleming kpfleming
Tue Nov 15 14:50:06 CST 2005


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

Modified Files:
	app_disa.c 
Log Message:
correct a small problem with recent commit


Index: app_disa.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_disa.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- app_disa.c	15 Nov 2005 19:27:18 -0000	1.46
+++ app_disa.c	15 Nov 2005 19:40:08 -0000	1.47
@@ -169,9 +169,9 @@
 	AST_STANDARD_APP_ARGS(args, tmp);
 
 	if (ast_strlen_zero(args.context)) 
-		args.context = ast_strdupa("disa");	
+		args.context = "disa";	
 	if (ast_strlen_zero(args.mailbox))
-		args.mailbox = ast_strdupa("");
+		args.mailbox = "";
 
 	ast_log(LOG_DEBUG, "Mailbox: %s\n",args.mailbox);
 	
@@ -278,9 +278,9 @@
 							  /* if we got it */
 							if (!strcmp(exten,args.passcode)) {
 								if (ast_strlen_zero(args.context))
-									args.context = ast_strdupa("disa");
+									args.context = "disa";
 								if (ast_strlen_zero(args.mailbox))
-									args.mailbox = ast_strdupa("");
+									args.mailbox = "";
 								break;
 							}
 						   }




More information about the svn-commits mailing list