aboutsummaryrefslogtreecommitdiffstats
path: root/examples/example6.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-09-23 11:34:15 +0000
committerVincent Richard <[email protected]>2013-09-23 11:34:15 +0000
commitc406d451476a85a03a84f55cc935103d40503742 (patch)
treef1c0ae8c729bb759504e458c9c1c3a0a42d445eb /examples/example6.cpp
parentOrder ciphers according to strength and always exclude ADH (OpenSSL). (diff)
parentMerge pull request #54 from mabrand/fix (diff)
downloadvmime-c406d451476a85a03a84f55cc935103d40503742.tar.gz
vmime-c406d451476a85a03a84f55cc935103d40503742.zip
Merge branch 'master' of https://github.com/kisli/vmime
Diffstat (limited to 'examples/example6.cpp')
-rw-r--r--examples/example6.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example6.cpp b/examples/example6.cpp
index c4acc1c5..e4b272a5 100644
--- a/examples/example6.cpp
+++ b/examples/example6.cpp
@@ -292,11 +292,11 @@ static std::ostream& operator<<(std::ostream& os, const vmime::exception& e)
* @param s structure object
* @param level current depth
*/
-static void printStructure(vmime::ref <const vmime::net::structure> s, const int level = 0)
+static void printStructure(vmime::ref <const vmime::net::messageStructure> s, const int level = 0)
{
for (int i = 0 ; i < s->getPartCount() ; ++i)
{
- vmime::ref <const vmime::net::part> part = s->getPartAt(i);
+ vmime::ref <const vmime::net::messagePart> part = s->getPartAt(i);
for (int j = 0 ; j < level * 2 ; ++j)
std::cout << " ";