aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-service.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-03-30 01:34:00 +0800
committerDan Winship <danw@src.gnome.org>2001-03-30 01:34:00 +0800
commitbd52985962ec52ed1a89a466c66fab61e5fe9134 (patch)
treef88fa33bdeefeff0d51e994825e91897dfd1b82b /camel/camel-service.c
parentfeaa9ddc81a8d4f0c3c037fd2822a56107bbab6b (diff)
downloadgsoc2013-evolution-bd52985962ec52ed1a89a466c66fab61e5fe9134.tar
gsoc2013-evolution-bd52985962ec52ed1a89a466c66fab61e5fe9134.tar.gz
gsoc2013-evolution-bd52985962ec52ed1a89a466c66fab61e5fe9134.tar.bz2
gsoc2013-evolution-bd52985962ec52ed1a89a466c66fab61e5fe9134.tar.lz
gsoc2013-evolution-bd52985962ec52ed1a89a466c66fab61e5fe9134.tar.xz
gsoc2013-evolution-bd52985962ec52ed1a89a466c66fab61e5fe9134.tar.zst
gsoc2013-evolution-bd52985962ec52ed1a89a466c66fab61e5fe9134.zip
change "gboolean show_passwd" to "guint32 flags".
* camel-url.c (camel_url_to_string): change "gboolean show_passwd" to "guint32 flags". * tests/misc/url.c (main): Update calls to camel_url_to_string * providers/imap/camel-imap-store.c (construct): Call camel_url_to_string with flags to hide password, authtype, and params to create the base_url. (etc): Update for the fact that the base_url no longer has the "/" at the end. * camel-service.c (construct): Update calls to camel_url_to_string (pass CAMEL_URL_HIDE_PASSWORD) svn path=/trunk/; revision=9014
Diffstat (limited to 'camel/camel-service.c')
-rw-r--r--camel/camel-service.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/camel-service.c b/camel/camel-service.c
index cbf0e5b681..b0e8c1ec59 100644
--- a/camel/camel-service.c
+++ b/camel/camel-service.c
@@ -134,7 +134,7 @@ construct (CamelService *service, CamelSession *session,
if (CAMEL_PROVIDER_NEEDS (provider, CAMEL_URL_PART_USER) &&
(url->user == NULL || url->user[0] == '\0')) {
- url_string = camel_url_to_string (url, FALSE);
+ url_string = camel_url_to_string (url, CAMEL_URL_HIDE_PASSWORD);
camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_URL_INVALID,
_("URL '%s' needs a username component"),
url_string);
@@ -142,7 +142,7 @@ construct (CamelService *service, CamelSession *session,
return;
} else if (CAMEL_PROVIDER_NEEDS (provider, CAMEL_URL_PART_HOST) &&
(url->host == NULL || url->host[0] == '\0')) {
- url_string = camel_url_to_string (url, FALSE);
+ url_string = camel_url_to_string (url, CAMEL_URL_HIDE_PASSWORD);
camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_URL_INVALID,
_("URL '%s' needs a host component"),
url_string);
@@ -150,7 +150,7 @@ construct (CamelService *service, CamelSession *session,
return;
} else if (CAMEL_PROVIDER_NEEDS (provider, CAMEL_URL_PART_PATH) &&
(url->path == NULL || url->path[0] == '\0')) {
- url_string = camel_url_to_string (url, FALSE);
+ url_string = camel_url_to_string (url, CAMEL_URL_HIDE_PASSWORD);
camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_URL_INVALID,
_("URL '%s' needs a path component"),
url_string);