Merged revisions 152463 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 28 Oct 2008 22:33:40 +0000 (22:33 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 28 Oct 2008 22:33:40 +0000 (22:33 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r152463 | tilghman | 2008-10-28 17:32:34 -0500 (Tue, 28 Oct 2008) | 3 lines

  Quoting in the wrong direction
  (Fixes AST-107)
........

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

apps/app_voicemail.c

index 839029a..a6b42e0 100644 (file)
@@ -3889,7 +3889,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 {