[evolution-patches] service_setv sets sets the host part instead of the path part



Hi!


This is just a small patch to service_setv wich wrongly sets url->host
instead of url->path if tag == CAMEL_SERVICE_PATH.

Cu!
Christian
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/camel/ChangeLog,v
retrieving revision 1.2197
diff -u -r1.2197 ChangeLog
--- ChangeLog	18 Jun 2004 21:11:18 -0000	1.2197
+++ ChangeLog	21 Jun 2004 12:25:41 -0000
@@ -1,3 +1,8 @@
+2004-06-21  Christian Kellner <gicmo xatom net>
+
+	* camel-service.c (service_setv): Really set the path if tag is 
+	CAMEL_SERVICE_PATH.
+
 2004-06-18  Jeffrey Stedfast  <fejj novell com>
 
 	* camel.c (camel_shutdown): Call camel_mime_utils_shutdown() and
Index: camel-service.c
===================================================================
RCS file: /cvs/gnome/evolution/camel/camel-service.c,v
retrieving revision 1.89
diff -u -r1.89 camel-service.c
--- camel-service.c	17 Jun 2004 16:13:47 -0000	1.89
+++ camel-service.c	21 Jun 2004 12:25:43 -0000
@@ -193,7 +193,7 @@
 		} else if (tag == CAMEL_SERVICE_PATH) {
 			/* set the path */
 			if (strcmp (url->path, args->argv[i].ca_str) != 0) {
-				camel_url_set_host (url, args->argv[i].ca_str);
+				camel_url_set_path (url, args->argv[i].ca_str);
 				reconnect = TRUE;
 			}
 		} else {


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