From f2f3ee373bf8c847aa20e37fd1caac1c6b4430ac Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 3 Nov 2000 19:19:53 +0000 Subject: fix bug in previous svn path=/trunk/; revision=6373 --- camel/camel-service.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/camel/camel-service.c b/camel/camel-service.c index 06b1d09625..15702db42f 100644 --- a/camel/camel-service.c +++ b/camel/camel-service.c @@ -170,6 +170,7 @@ camel_service_new (CamelType type, CamelSession *session, /*service->connect_level = 0;*/ + service->provider = provider; service->url = url; if (!url->empty && !check_url (service, ex)) { camel_object_unref (CAMEL_OBJECT (service)); @@ -179,9 +180,6 @@ camel_service_new (CamelType type, CamelSession *session, service->session = session; camel_object_ref (CAMEL_OBJECT (session)); - service->provider = provider; - /* don't ref -- providers are not CamelObjects */ - service->connected = FALSE; return service; -- cgit