aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-service.c')
-rw-r--r--camel/camel-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-service.c b/camel/camel-service.c
index 229f0d2893..d108f124c0 100644
--- a/camel/camel-service.c
+++ b/camel/camel-service.c
@@ -193,7 +193,7 @@ service_setv (CamelObject *object, CamelException *ex, CamelArgV *args)
} 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 {