Skip to content
Snippets Groups Projects
Commit a47b20bd authored by Jason Parker's avatar Jason Parker
Browse files

Comparison, not set :) Thanks mvanbaak.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent de0d0ad1
Branches
Tags
No related merge requests found
......@@ -159,7 +159,7 @@ static int auth_exec(struct ast_channel *chan, void *data)
continue;
len = strlen(buf) - 1;
if (buf[len - 1] = '\n')
if (buf[len - 1] == '\n')
buf[len - 1] = '\0';
if (ast_test_flag(&flags, OPT_MULTIPLE)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment