aboutsummaryrefslogtreecommitdiffstats
path: root/src/messaging/serviceFactory.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/serviceFactory.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/serviceFactory.cpp')
-rw-r--r--src/messaging/serviceFactory.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/messaging/serviceFactory.cpp b/src/messaging/serviceFactory.cpp
index 09bced01..35ff3a98 100644
--- a/src/messaging/serviceFactory.cpp
+++ b/src/messaging/serviceFactory.cpp
@@ -69,8 +69,9 @@ service* serviceFactory::create
if (u.port() != url::UNSPECIFIED_PORT)
sess.properties()[serv->infos().propertyPrefix() + "server.port"] = u.port();
- if (!u.path().empty())
- sess.properties()[serv->infos().propertyPrefix() + "server.path"] = u.path();
+ // Path portion of the URL is used to point a specific folder (empty = root)
+ //if (!u.path().empty())
+ // sess.properties()[serv->infos().propertyPrefix() + "server.path"] = u.path();
if (!u.username().empty())
{