]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Don't nullify an ast_str pointer.
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 11 May 2009 19:32:13 +0000 (19:32 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 11 May 2009 19:32:13 +0000 (19:32 +0000)
(closes issue #15061)
 Reported by: alecdavis

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@193678 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index b5d7f592e8b8c7089d1ff4fef677f4ef80e5b16e..3381cfc6ce7af53658680631e064668ddb96831a 100644 (file)
@@ -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);