mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 03:08:45 +00:00
let's see how many times we can commit app_read in 1 day =D
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -69,7 +69,7 @@ static int read_exec(struct ast_channel *chan, void *data)
|
|||||||
int maxdigits=255;
|
int maxdigits=255;
|
||||||
int tries = 1;
|
int tries = 1;
|
||||||
int to = 0;
|
int to = 0;
|
||||||
x = 0;
|
int x = 0;
|
||||||
char *argcopy = NULL;
|
char *argcopy = NULL;
|
||||||
char *args[8];
|
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);
|
ast_verbose(VERBOSE_PREFIX_3 "Accepting a maximum of %i digits.\n", maxdigits);
|
||||||
}
|
}
|
||||||
if (!(varname) || ast_strlen_zero(varname)) {
|
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;
|
return -1;
|
||||||
}
|
}
|
||||||
LOCAL_USER_ADD(u);
|
LOCAL_USER_ADD(u);
|
||||||
|
Reference in New Issue
Block a user