diff options
Diffstat (limited to 'camel/providers/smtp')
-rw-r--r-- | camel/providers/smtp/camel-smtp-provider.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/camel/providers/smtp/camel-smtp-provider.c b/camel/providers/smtp/camel-smtp-provider.c index 9e6f571498..1d18e445cc 100644 --- a/camel/providers/smtp/camel-smtp-provider.c +++ b/camel/providers/smtp/camel-smtp-provider.c @@ -27,6 +27,7 @@ #include "camel-smtp-transport.h" #include "camel-provider.h" #include "camel-session.h" +#include "camel-url.h" static CamelProvider smtp_provider = { "smtp", @@ -38,7 +39,9 @@ static CamelProvider smtp_provider = { 0, - { 0, 0 } + { 0, 0 }, + + NULL }; void @@ -47,6 +50,8 @@ camel_provider_module_init (CamelSession *session) smtp_provider.object_types[CAMEL_PROVIDER_TRANSPORT] = camel_smtp_transport_get_type(); + smtp_provider.service_cache = g_hash_table_new (camel_url_hash, camel_url_equal); + camel_session_register_provider (session, &smtp_provider); } |