mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +00:00
Don't nullify an ast_str pointer.
(closes issue #15061) Reported by: alecdavis git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@193678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3983,7 +3983,6 @@ static const char *ast_str_encode_mime(struct ast_str **end, ssize_t maxlen, con
|
||||
{
|
||||
struct ast_str *tmp = ast_str_alloca(80);
|
||||
int first_section = 1;
|
||||
*end = '\0';
|
||||
|
||||
ast_str_reset(*end);
|
||||
ast_str_set(&tmp, -1, "=?%s?Q?", charset);
|
||||
|
||||
Reference in New Issue
Block a user