aboutsummaryrefslogtreecommitdiffstats
path: root/camel/tests
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/tests
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/tests')
-rw-r--r--camel/tests/misc/url.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/tests/misc/url.c b/camel/tests/misc/url.c
index 128eb29fc5..cc61ef3cd6 100644
--- a/camel/tests/misc/url.c
+++ b/camel/tests/misc/url.c
@@ -73,7 +73,7 @@ main (int argc, char **argv)
camel_test_pull ();
camel_test_push ("base URL unparsing");
- url_string = camel_url_to_string (base_url, TRUE);
+ url_string = camel_url_to_string (base_url, 0);
if (strcmp (url_string, base) != 0) {
camel_test_fail ("URL <%s> unparses to <%s>\n",
base, url_string);
@@ -90,7 +90,7 @@ main (int argc, char **argv)
continue;
}
- url_string = camel_url_to_string (url, TRUE);
+ url_string = camel_url_to_string (url, 0);
if (strcmp (url_string, tests[i].result) != 0)
camel_test_fail ("got <%s>!", url_string);
g_free (url_string);