summaryrefslogtreecommitdiff
path: root/cgi.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-02 13:59:18 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-01-02 14:00:05 +0100
commitb016f111233e840da8879b1fe933b72aa8ac625f (patch)
tree84b19b6814ddc5c251a2802fe33b7dc0a180dc37 /cgi.c
parenta6aca5fc1be4409c47f88f730814b41dc9c95475 (diff)
constify, fix types
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi.c b/cgi.c
index cfd71fb..02665d8 100644
--- a/cgi.c
+++ b/cgi.c
@@ -38,7 +38,7 @@ void uh_interpreter_add(const char *ext, const char *path)
static void cgi_main(struct client *cl, struct path_info *pi, int fd)
{
- struct interpreter *ip = pi->ip;
+ const struct interpreter *ip = pi->ip;
struct env_var *var;
dup2(fd, 0);