[PATCH] typo in camel-service.c



This one really looks like a typo, I guess it just worked because both connecting and disconnecting are always defined.

--
Martin
--- a/libtinymail-camel/camel-lite/camel/camel-service.c	2008-08-21 10:49:02.000000000 +0200
+++ b/libtinymail-camel/camel-lite/camel/camel-service.c	2008-08-21 10:49:20.000000000 +0200
@@ -394,7 +394,7 @@
 		service->connect_op = NULL;
 	}
 
-	if (service->disconnecting)
+	if (service->connecting)
 		service->connecting (service, ret, service->data);
 
 	CAMEL_SERVICE_UNLOCK (service, connect_op_lock);
@@ -447,7 +447,7 @@
 		service->connect_op = NULL;
 	}
 
-	if (service->disconnecting)
+	if (service->connecting)
 		service->connecting (service, ret, service->data);
 
 	//CAMEL_SERVICE_UNLOCK (service, connect_op_lock);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]