aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-url.c
diff options
context:
space:
mode:
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;