diff options
author | Chris Toshok <toshok@helixcode.com> | 2000-10-05 05:38:59 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-10-05 05:38:59 +0800 |
commit | 801c54738fe337b299c092794218274f4c2eff75 (patch) | |
tree | 92a88dcbd7c5256efd8b10e4f4db03ff7acbe87a | |
parent | 076b83ed4fceedb7758f546719ea746737dacbe2 (diff) | |
download | gsoc2013-evolution-801c54738fe337b299c092794218274f4c2eff75.tar.gz 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
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-tools.c | 11 |
2 files changed, 8 insertions, 9 deletions
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 <toshok@helixcode.com> + + * 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 <fejj@helixcode.com> * 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) { |