Fixed mistake.

This commit is contained in:
Vincent Richard 2005-12-29 23:10:57 +00:00
parent 69e0083549
commit f615d0c47a

View File

@ -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);