aboutsummaryrefslogtreecommitdiff
path: root/src/capi.c
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-01-07 15:53:19 -0300
committerJorge Arellano Cid <jcid@dillo.org>2009-01-07 15:53:19 -0300
commit6a205d77ba2747dd8bb21ceba452d43f36721eba (patch)
treeb23294b1e839ee9461e1725fac5d84a9e4a6f84e /src/capi.c
parent0135f90bd480311f2d74f4e43e3cfbf3feaf4277 (diff)
Cleanup of cache.c WRT charset decoders.
This patch gets rid of a series of valgrind complains with this page: http://selenic.com/pipermail/mercurial/
Diffstat (limited to 'src/capi.c')
-rw-r--r--src/capi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/capi.c b/src/capi.c
index efa2cd93..cfd059f5 100644
--- a/src/capi.c
+++ b/src/capi.c
@@ -421,10 +421,9 @@ const char *a_Capi_get_content_type(const DilloUrl *url)
/*
* Set the Content-Type for the URL.
*/
-const char *a_Capi_set_content_type(const DilloUrl *url, const char *ctype,
- bool_t force)
+const char *a_Capi_set_content_type(const DilloUrl *url, const char *ctype)
{
- return a_Cache_set_content_type(url, ctype, force);
+ return a_Cache_set_content_type(url, ctype);
}
/*