diff options
author | anthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-29 19:20:18 +0000 |
---|---|---|
committer | anthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-29 19:20:18 +0000 |
commit | 76347ff02354458f55eaea2dae91e82b36f4f5eb (patch) | |
tree | 8e8e6007a662a57eba4a72ed55044aa97749aa7c /apps/app_read.c | |
parent | efd35db371de9bb7d9d96b9842f9a509b8a8fd61 (diff) |
let's see how many times we can commit app_read in 1 day =D
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4594 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_read.c')
-rwxr-xr-x | apps/app_read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_read.c b/apps/app_read.c index 7676f0aba..c02e24ac3 100755 --- a/apps/app_read.c +++ b/apps/app_read.c @@ -69,7 +69,7 @@ static int read_exec(struct ast_channel *chan, void *data) int maxdigits=255; int tries = 1; int to = 0; - x = 0; + int x = 0; char *argcopy = NULL; char *args[8]; @@ -122,7 +122,7 @@ static int read_exec(struct ast_channel *chan, void *data) 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); |