mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
This commit is contained in:
@@ -103,7 +103,7 @@ static const char app[] = "Authenticate";
|
||||
</syntax>
|
||||
<description>
|
||||
<para>This application asks the caller to enter a given password in order to continue dialplan execution.</para>
|
||||
<para>If the password begins with the <literal>/</literal> character,
|
||||
<para>If the password begins with the <literal>/</literal> character,
|
||||
it is interpreted as a file which contains a list of valid passwords, listed 1 password per line in the file.</para>
|
||||
<para>When using a database key, the value associated with the key can be anything.</para>
|
||||
<para>Users have three attempts to authenticate before the channel is hung up.</para>
|
||||
@@ -158,7 +158,7 @@ static int auth_exec(struct ast_channel *chan, const char *data)
|
||||
} else {
|
||||
prompt = "agent-pass";
|
||||
}
|
||||
|
||||
|
||||
/* Start asking for password */
|
||||
for (retries = 0; retries < 3; retries++) {
|
||||
if ((res = ast_app_getdata(chan, prompt, passwd, maxdigits, 0)) < 0)
|
||||
|
||||
Reference in New Issue
Block a user