diff options
author | Dan Winship <danw@src.gnome.org> | 2001-06-27 00:14:10 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-06-27 00:14:10 +0800 |
commit | 48d1ac7ba498c7027da09a44caf003a90bf4c7b2 (patch) | |
tree | 439e60b11ea098d8501fc765fdf74511c0002fd9 /camel | |
parent | 04ae8da71652411c155777caecd2a59701d1067b (diff) | |
download | gsoc2013-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')
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/camel-url.c | 3 |
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; |