aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-11-04 03:19:53 +0800
committerDan Winship <danw@src.gnome.org>2000-11-04 03:19:53 +0800
commitf2f3ee373bf8c847aa20e37fd1caac1c6b4430ac (patch)
treeec2ae4839ee103eec921f335f0bbce5a2d37dba4
parent1cb19b5a1b927467589f3b0700c80d74669f8735 (diff)
downloadgsoc2013-evolution-f2f3ee373bf8c847aa20e37fd1caac1c6b4430ac.tar.gz
gsoc2013-evolution-f2f3ee373bf8c847aa20e37fd1caac1c6b4430ac.tar.zst
gsoc2013-evolution-f2f3ee373bf8c847aa20e37fd1caac1c6b4430ac.zip
fix bug in previous
svn path=/trunk/; revision=6373
-rw-r--r--camel/camel-service.c4
1 files changed, 1 insertions, 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;