From f615d0c47a0585d08fb6aa1a8c831bf1778eab2a Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 29 Dec 2005 23:10:57 +0000 Subject: [PATCH] Fixed mistake. --- doc/book/basics.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 msg; // Obtains a reference to the body contents vmime::ref body = msg->getBody(); -vmime::ref cts = msg->getContents(); +vmime::ref cts = body->getContents(); vmime::utility::outputStreamAdapter out(std::cout); cts->extract(out);