diff options
author | Chris Toshok <toshok@helixcode.com> | 2000-10-12 07:00:53 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-10-12 07:00:53 +0800 |
commit | 73f34050a143f01dd6ec004018ca514b37852343 (patch) | |
tree | e2b28a5945fddf5c9bcd93e5e06bfee6539efea5 /camel | |
parent | 8858c786e7efa88da2790d42f9aa09b5aaa11736 (diff) | |
download | gsoc2013-evolution-73f34050a143f01dd6ec004018ca514b37852343.tar.gz gsoc2013-evolution-73f34050a143f01dd6ec004018ca514b37852343.tar.zst gsoc2013-evolution-73f34050a143f01dd6ec004018ca514b37852343.zip |
remove the leading '/'. (nntp_store_subscribe_folder): same.
2000-10-11 Chris Toshok <toshok@helixcode.com>
* providers/nntp/camel-nntp-store.c (nntp_store_unsubscribe_folder): remove the leading '/'.
(nntp_store_subscribe_folder): same.
(nntp_store_folder_subscribed): same.
svn path=/trunk/; revision=5868
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/providers/nntp/camel-nntp-store.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 96b8802a0a..a5ad4ec8e9 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2000-10-11 Chris Toshok <toshok@helixcode.com> + + * providers/nntp/camel-nntp-store.c (nntp_store_unsubscribe_folder): remove the leading '/'. + (nntp_store_subscribe_folder): same. + (nntp_store_folder_subscribed): same. + 2000-10-11 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-folder.c (imap_move_message_to): Quote diff --git a/camel/providers/nntp/camel-nntp-store.c b/camel/providers/nntp/camel-nntp-store.c index a83bb8778c..44b5fc102f 100644 --- a/camel/providers/nntp/camel-nntp-store.c +++ b/camel/providers/nntp/camel-nntp-store.c @@ -456,7 +456,7 @@ nntp_store_folder_subscribed (CamelStore *store, const char *folder_name) { CamelNNTPStore *nntp_store = CAMEL_NNTP_STORE (store); - return camel_nntp_newsrc_group_is_subscribed (nntp_store->newsrc, folder_name); + return camel_nntp_newsrc_group_is_subscribed (nntp_store->newsrc, folder_name + 1); } static void @@ -465,7 +465,7 @@ nntp_store_subscribe_folder (CamelStore *store, const char *folder_name, { CamelNNTPStore *nntp_store = CAMEL_NNTP_STORE (store); - camel_nntp_newsrc_subscribe_group (nntp_store->newsrc, folder_name); + camel_nntp_newsrc_subscribe_group (nntp_store->newsrc, folder_name + 1); } static void @@ -474,7 +474,7 @@ nntp_store_unsubscribe_folder (CamelStore *store, const char *folder_name, { CamelNNTPStore *nntp_store = CAMEL_NNTP_STORE (store); - camel_nntp_newsrc_unsubscribe_group (nntp_store->newsrc, folder_name); + camel_nntp_newsrc_unsubscribe_group (nntp_store->newsrc, folder_name + 1); } static void |