Make sure values are interpreted as character strings and not format strings.

(AST-2008-004)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@109396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2008-03-18 15:13:07 +00:00
parent 5900cd9047
commit 760fc3403c
2 changed files with 2 additions and 2 deletions

View File

@@ -2051,7 +2051,7 @@ static int action_command(struct mansession *s, const struct message *m)
term_strip(final_buf, buf, l);
final_buf[l] = '\0';
}
astman_append(s, S_OR(final_buf, buf));
astman_append(s, "%s", S_OR(final_buf, buf));
ast_free(buf);
}
close(fd);