[Asterisk-cvs] asterisk/apps app_read.c,1.13,1.14

anthm at lists.digium.com anthm at lists.digium.com
Wed Dec 29 14:25:32 CST 2004


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

Modified Files:
	app_read.c 
Log Message:
let's see how many times we can commit app_read in 1 day =D

Index: app_read.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_read.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- app_read.c	29 Dec 2004 18:51:33 -0000	1.13
+++ app_read.c	29 Dec 2004 19:20:18 -0000	1.14
@@ -69,7 +69,7 @@
 	int maxdigits=255;
 	int tries = 1;
 	int to = 0;
-	x = 0;
+	int x = 0;
 	char *argcopy = NULL;
 	char *args[8];
 
@@ -122,7 +122,7 @@
 			ast_verbose(VERBOSE_PREFIX_3 "Accepting a maximum of %i digits.\n", maxdigits);
 	}
 	if (!(varname) || ast_strlen_zero(varname)) {
-		ast_log(LOG_WARNING, "Read requires an variable name\n");
+		ast_log(LOG_WARNING, "Invalid! Usage: Read(variable[|filename][|maxdigits][|option][|attempts][|timeout])\n\n");
 		return -1;
 	}
 	LOCAL_USER_ADD(u);




More information about the svn-commits mailing list