aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2007-05-21 13:11:15 +0000
committerVincent Richard <[email protected]>2007-05-21 13:11:15 +0000
commit28483d2ef88ad3bf8ae072b432212d51f1d29d93 (patch)
tree3e1aa9566b894b0a03ec6ccd33d3876af323b6f9
parentAllow more than one mechanism after AUTH=. (diff)
downloadvmime-28483d2ef88ad3bf8ae072b432212d51f1d29d93.tar.gz
vmime-28483d2ef88ad3bf8ae072b432212d51f1d29d93.zip
Fixed bug #1660740: Listing 5.1, The VMIME BOOK, getDecodedText.
-rw-r--r--doc/book/msg.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/book/msg.tex b/doc/book/msg.tex
index 9e43427e..5ebfe93b 100644
--- a/doc/book/msg.tex
+++ b/doc/book/msg.tex
@@ -47,10 +47,10 @@ vmime::charset ch(vmime::charsets::UTF_8);
std::cout
<< "The subject of the message is: "
- << hdr->Subject()->getValue().dynamicCast <vmime::text>()->getDecodedText(ch)
+ << hdr->Subject()->getValue().dynamicCast <vmime::text>()->getConvertedText(ch)
<< std::endl
<< "It was sent by: "
- << hdr->From()->getValue().dynamicCast <vmime::mailbox>()->getName().getDecodedText(ch)
+ << hdr->From()->getValue().dynamicCast <vmime::mailbox>()->getName().getConvertedText(ch)
<< " (email: " << hdr->From()->getValue().getEmail() << ")"
<< std::endl;
\end{lstlisting}