aboutsummaryrefslogtreecommitdiffstats
path: root/src/messaging/maildirStore.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2004-10-05 16:33:54 +0000
committerVincent Richard <[email protected]>2004-10-05 16:33:54 +0000
commit0967d3ef5b5137338c37a65181e33ed53525b78b (patch)
tree484099a61052641120a75560f18f0d046c099cf8 /src/messaging/maildirStore.cpp
parentAdded "examples/common.inc" file that was ommited during initial import. (diff)
downloadvmime-0967d3ef5b5137338c37a65181e33ed53525b78b.tar.gz
vmime-0967d3ef5b5137338c37a65181e33ed53525b78b.zip
Changed meaning of "path" portion in a URL. This does not specify the root path for "maildir" protocol anymore; instead the "server.rootpath" property is used. The "path" portion can be used to point a specific folder into a mail store (empty = root folder).
Diffstat (limited to 'src/messaging/maildirStore.cpp')
-rw-r--r--src/messaging/maildirStore.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/messaging/maildirStore.cpp b/src/messaging/maildirStore.cpp
index 2e125109..520e6bbb 100644
--- a/src/messaging/maildirStore.cpp
+++ b/src/messaging/maildirStore.cpp
@@ -80,8 +80,8 @@ void maildirStore::connect()
if (isConnected())
throw exceptions::already_connected();
- m_fsPath = platformDependant::getHandler()->getFileSystemFactory()->stringToPath
- (session().properties()[infos().propertyPrefix() + "server.path"]);
+ m_fsPath = platformDependant::getHandler()->getFileSystemFactory()->
+ stringToPath(session().properties()[infos().propertyPrefix() + "server.rootpath"]);
m_connected = true;
}
@@ -155,7 +155,7 @@ const std::vector <string> maildirStore::_infos::availableProperties() const
{
std::vector <string> list;
- list.push_back("server.path");
+ list.push_back("server.rootpath");
return (list);
}