mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-20 11:43:52 +00:00
Comparison, not set :) Thanks mvanbaak.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -159,7 +159,7 @@ static int auth_exec(struct ast_channel *chan, void *data)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
len = strlen(buf) - 1;
|
len = strlen(buf) - 1;
|
||||||
if (buf[len - 1] = '\n')
|
if (buf[len - 1] == '\n')
|
||||||
buf[len - 1] = '\0';
|
buf[len - 1] = '\0';
|
||||||
|
|
||||||
if (ast_test_flag(&flags, OPT_MULTIPLE)) {
|
if (ast_test_flag(&flags, OPT_MULTIPLE)) {
|
||||||
|
Reference in New Issue
Block a user