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
This commit is contained in:
Chris Toshok
2000-10-11 23:00:53 +00:00
committed by Chris Toshok
parent 8858c786e7
commit 73f34050a1
2 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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