aboutsummaryrefslogtreecommitdiffstats
path: root/examples/example6.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2015-02-17 21:12:20 +0000
committerVincent Richard <[email protected]>2015-02-17 21:12:20 +0000
commit52e5d74becd6ec100718be177bb60d12d80a774d (patch)
tree42fcc9227e038266a6e5bbbc1e908a8ddce2a258 /examples/example6.cpp
parentSkip word on unexpected error when fixing broken words. (diff)
downloadvmime-52e5d74becd6ec100718be177bb60d12d80a774d.tar.gz
vmime-52e5d74becd6ec100718be177bb60d12d80a774d.zip
Made word/parameter constructor with 'string' explicit to avoid implicit use of default charset.
Diffstat (limited to 'examples/example6.cpp')
-rw-r--r--examples/example6.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example6.cpp b/examples/example6.cpp
index 5d8c7e64..27c6e157 100644
--- a/examples/example6.cpp
+++ b/examples/example6.cpp
@@ -639,7 +639,7 @@ static void connectStore()
: std::string(path.begin() + s, path.begin() + p);
if (!x.empty())
- newFolder = newFolder->getFolder(x);
+ newFolder = newFolder->getFolder(vmime::utility::path::component(x));
if (p == std::string::npos)
break;