From 801c54738fe337b299c092794218274f4c2eff75 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 4 Oct 2000 21:38:59 +0000 Subject: remove news specific check. (mail_tool_uri_to_folder): news: -> nntp: 2000-10-04 Chris Toshok * 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 --- mail/ChangeLog | 6 ++++++ mail/mail-tools.c | 11 ++--------- 2 files changed, 8 insertions(+), 9 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 9b69b6db46..ffe5c73fd0 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2000-10-04 Chris Toshok + + * mail-tools.c (mail_tool_get_root_of_store): remove news specific + check. + (mail_tool_uri_to_folder): news: -> nntp: + 2000-10-04 Jeffrey Stedfast * mail-ops.c (do_filter_ondemand): Don't expunge the source 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) { -- cgit v1.2.3