aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2000-10-05 05:38:59 +0800
committerChris Toshok <toshok@src.gnome.org>2000-10-05 05:38:59 +0800
commit801c54738fe337b299c092794218274f4c2eff75 (patch)
tree92a88dcbd7c5256efd8b10e4f4db03ff7acbe87a /mail/mail-tools.c
parent076b83ed4fceedb7758f546719ea746737dacbe2 (diff)
downloadgsoc2013-evolution-801c54738fe337b299c092794218274f4c2eff75.tar
gsoc2013-evolution-801c54738fe337b299c092794218274f4c2eff75.tar.gz
gsoc2013-evolution-801c54738fe337b299c092794218274f4c2eff75.tar.bz2
gsoc2013-evolution-801c54738fe337b299c092794218274f4c2eff75.tar.lz
gsoc2013-evolution-801c54738fe337b299c092794218274f4c2eff75.tar.xz
gsoc2013-evolution-801c54738fe337b299c092794218274f4c2eff75.tar.zst
gsoc2013-evolution-801c54738fe337b299c092794218274f4c2eff75.zip
remove news specific check. (mail_tool_uri_to_folder): news: -> nntp:
2000-10-04 Chris Toshok <toshok@helixcode.com> * mail-tools.c (mail_tool_get_root_of_store): remove news specific check. (mail_tool_uri_to_folder): news: -> nntp: svn path=/trunk/; revision=5718
Diffstat (limited to 'mail/mail-tools.c')
-rw-r--r--mail/mail-tools.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/mail/mail-tools.c b/mail/mail-tools.c
index 0c89fb4cdd..2646a8ad41 100644
--- a/mail/mail-tools.c
+++ b/mail/mail-tools.c
@@ -461,14 +461,7 @@ mail_tool_get_root_of_store (const char *source_uri, CamelException *ex)
mail_tool_camel_lock_up();
- if (!strncmp (source_uri, "news://", 7))
- store = (CamelStore*)camel_session_get_service (session, source_uri,
- CAMEL_PROVIDER_STORE, ex);
- else
- store = camel_session_get_store (session, source_uri, ex);
-
- mail_tool_camel_lock_up ();
-
+ store = camel_session_get_store (session, source_uri, ex);
if (!store) {
mail_tool_camel_lock_down ();
return NULL;
@@ -533,7 +526,7 @@ mail_tool_uri_to_folder (const char *uri, CamelException *ex)
mail_tool_camel_lock_down ();
- } else if (!strncmp (uri, "news:", 5)) {
+ } else if (!strncmp (uri, "nntp:", 5)) {
mail_tool_camel_lock_up();
store = camel_session_get_store (session, uri, ex);
if (store) {