diff options
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/providers/nntp/camel-nntp-provider.c | 16 |
2 files changed, 15 insertions, 6 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 0a2d75df5e..197b167c39 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +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 + 2000-08-03 Peter Williams <peterw@helixcode.com> * providers/nntp/Makefile.am (INCLUDES): Add -I$(top_srcdir) to 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); } - - - |