From: Tilghman Lesher Date: Tue, 28 Oct 2008 22:32:34 +0000 (+0000) Subject: Quoting in the wrong direction X-Git-Tag: 1.4.23-rc1~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd9de775c5e3e0f18de5d6aa345a5d69894b66d6;p=thirdparty%2Fasterisk.git Quoting in the wrong direction (Fixes AST-107) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@152463 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 623558e484..078462eb03 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -3115,7 +3115,7 @@ static void make_email_file(FILE *p, char *srcemail, struct ast_vm_user *vmu, in } fprintf(p, "%s %s <%s>" ENDL, first_line ? "From:" : "", passdata, who); } else { - fprintf(p, "From: %s <%s>" ENDL, quote(passdata, passdata2, len_passdata2), who); + fprintf(p, "From: %s <%s>" ENDL, quote(passdata2, passdata, len_passdata), who); } ast_channel_free(ast); } else