diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-05-11 19:32:13 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-05-11 19:32:13 +0000 |
commit | 52541f5aeb7db910f943f8b6909ef40437cf34e9 (patch) | |
tree | b7f1a74545a96d3d47034ddf17e64255549c283c /apps | |
parent | 3b01ff719c0c87ff0c70c0e841d8bf5afcfd0f0b (diff) |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index b5d7f592e..3381cfc6c 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -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); |