aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/camel-url.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 4b312693d0..3bfbaf2c08 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-26 Dan Winship <danw@ximian.com>
+
+ * camel-url.c (camel_url_encode): constify args
+
2001-06-25 Jeffrey Stedfast <fejj@ximian.com>
* camel-filter-search.c (get_source): g_strdup() the message
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;