summaryrefslogtreecommitdiff
path: root/daemon/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/misc.c')
-rw-r--r--daemon/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/misc.c b/daemon/misc.c
index a38eda9..8e361be 100644
--- a/daemon/misc.c
+++ b/daemon/misc.c
@@ -81,7 +81,7 @@ void ha_message(int level, const char* msg, ...)
* Header Functionality
*/
-ha_header_t* ha_findheader(ha_request_t* req, const char* name)
+const ha_header_t* ha_findheader(const ha_request_t* req, const char* name)
{
int i;
@@ -99,7 +99,7 @@ ha_header_t* ha_findheader(ha_request_t* req, const char* name)
return NULL;
}
-const char* ha_getheader(ha_request_t* req, const char* name, const char* prefix)
+const char* ha_getheader(const ha_request_t* req, const char* name, const char* prefix)
{
int i, l;