aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-12-29 23:10:57 +0000
committerVincent Richard <[email protected]>2005-12-29 23:10:57 +0000
commitf615d0c47a0585d08fb6aa1a8c831bf1778eab2a (patch)
tree914fbf3a69110c4dcaae2d2ff5545413d73b5bc6 /doc
parentAdded support for getaddrinfo() on POSIX. (diff)
downloadvmime-f615d0c47a0585d08fb6aa1a8c831bf1778eab2a.tar.gz
vmime-f615d0c47a0585d08fb6aa1a8c831bf1778eab2a.zip
Fixed mistake.
Diffstat (limited to 'doc')
-rw-r--r--doc/book/basics.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/book/basics.tex b/doc/book/basics.tex
index b6c41e41..da492e43 100644
--- a/doc/book/basics.tex
+++ b/doc/book/basics.tex
@@ -545,7 +545,7 @@ vmime::ref <vmime::message> msg;
// Obtains a reference to the body contents
vmime::ref <vmime::body> body = msg->getBody();
-vmime::ref <vmime::contentHandler> cts = msg->getContents();
+vmime::ref <vmime::contentHandler> cts = body->getContents();
vmime::utility::outputStreamAdapter out(std::cout);
cts->extract(out);