aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-url.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-06-27 00:14:10 +0800
committerDan Winship <danw@src.gnome.org>2001-06-27 00:14:10 +0800
commit48d1ac7ba498c7027da09a44caf003a90bf4c7b2 (patch)
tree439e60b11ea098d8501fc765fdf74511c0002fd9 /camel/camel-url.c
parent04ae8da71652411c155777caecd2a59701d1067b (diff)
downloadgsoc2013-evolution-48d1ac7ba498c7027da09a44caf003a90bf4c7b2.tar.gz
gsoc2013-evolution-48d1ac7ba498c7027da09a44caf003a90bf4c7b2.tar.zst
gsoc2013-evolution-48d1ac7ba498c7027da09a44caf003a90bf4c7b2.zip
constify args
* camel-url.c (camel_url_encode): constify args svn path=/trunk/; revision=10501
Diffstat (limited to 'camel/camel-url.c')
-rw-r--r--camel/camel-url.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/camel-url.c b/camel/camel-url.c
index f3b5766b25..9913eb3269 100644
--- a/camel/camel-url.c
+++ b/camel/camel-url.c
@@ -453,7 +453,8 @@ camel_url_get_param (CamelURL *url, const char *name)
* in allocated memory, which the caller must free when it is done.
**/
char *
-camel_url_encode (char *part, gboolean escape_unsafe, char *escape_extra)
+camel_url_encode (const char *part, gboolean escape_unsafe,
+ const char *escape_extra)
{
char *work, *p;