aboutsummaryrefslogtreecommitdiff
path: root/src/capi.c
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-01-23 16:53:57 -0300
committerJorge Arellano Cid <jcid@dillo.org>2009-01-23 16:53:57 -0300
commit37e9c1e7d1dbf66ee78189c2775922f8360c0e60 (patch)
tree863a464788c939466a7b561eeaaa42759fe958db /src/capi.c
parent9df15efd4e1e782f406f1f045361c50cd615759e (diff)
Cleanup and logic change in a_Cache_set_content_type().
Diffstat (limited to 'src/capi.c')
-rw-r--r--src/capi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/capi.c b/src/capi.c
index cfd059f5..41df8de6 100644
--- a/src/capi.c
+++ b/src/capi.c
@@ -421,9 +421,10 @@ 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)
+const char *a_Capi_set_content_type(const DilloUrl *url, const char *ctype,
+ const char *from)
{
- return a_Cache_set_content_type(url, ctype);
+ return a_Cache_set_content_type(url, ctype, from);
}
/*