]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Quoting in the wrong direction
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 28 Oct 2008 22:32:34 +0000 (22:32 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 28 Oct 2008 22:32:34 +0000 (22:32 +0000)
(Fixes AST-107)

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

apps/app_voicemail.c

index 623558e4846cc7c992515de616f004657f95fa2c..078462eb0307ed86ec71931f76d7f51c8c6f9d0b 100644 (file)
@@ -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