aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/nntp
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-08-04 04:40:19 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-08-04 04:40:19 +0800
commit64dcaa003ccd4cb780914c3ee0cabd793cf6daf1 (patch)
treecad03a6473d1d9966b7ddd0823fbe36c7fa352be /camel/providers/nntp
parent162c4d69f3f37c363a0e85bbe98f8691dfac510b (diff)
downloadgsoc2013-evolution-64dcaa003ccd4cb780914c3ee0cabd793cf6daf1.tar
gsoc2013-evolution-64dcaa003ccd4cb780914c3ee0cabd793cf6daf1.tar.gz
gsoc2013-evolution-64dcaa003ccd4cb780914c3ee0cabd793cf6daf1.tar.bz2
gsoc2013-evolution-64dcaa003ccd4cb780914c3ee0cabd793cf6daf1.tar.lz
gsoc2013-evolution-64dcaa003ccd4cb780914c3ee0cabd793cf6daf1.tar.xz
gsoc2013-evolution-64dcaa003ccd4cb780914c3ee0cabd793cf6daf1.tar.zst
gsoc2013-evolution-64dcaa003ccd4cb780914c3ee0cabd793cf6daf1.zip
Initialize the service_cache for the news/nntp providers
2000-08-03 Jeffrey Stedfast <fejj@helixcode.com> * providers/nntp/camel-nntp-provider.c (camel_provider_module_init): Initialize the service_cache for the news/nntp providers svn path=/trunk/; revision=4514
Diffstat (limited to 'camel/providers/nntp')
-rw-r--r--camel/providers/nntp/camel-nntp-provider.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/camel/providers/nntp/camel-nntp-provider.c b/camel/providers/nntp/camel-nntp-provider.c
index 4afc8c7c97..abfce31c5e 100644
--- a/camel/providers/nntp/camel-nntp-provider.c
+++ b/camel/providers/nntp/camel-nntp-provider.c
@@ -38,7 +38,9 @@ static CamelProvider news_provider = {
CAMEL_PROVIDER_IS_REMOTE,
- { 0, 0 }
+ { 0, 0 },
+
+ NULL
};
static CamelProvider nntp_provider = {
@@ -52,7 +54,9 @@ static CamelProvider nntp_provider = {
CAMEL_PROVIDER_IS_REMOTE,
- { 0, 0 }
+ { 0, 0 },
+
+ NULL
};
void
@@ -64,10 +68,10 @@ camel_provider_module_init (CamelSession *session)
nntp_provider.object_types[CAMEL_PROVIDER_TRANSPORT] =
camel_nntp_transport_get_type();
#endif
-
+
+ news_provider.service_cache = g_hash_table_new (camel_url_hash, camel_url_equal);
+ nntp_provider.service_cache = g_hash_table_new (camel_url_hash, camel_url_equal);
+
camel_session_register_provider (session, &news_provider);
camel_session_register_provider (session, &nntp_provider);
}
-
-
-