From 9d49fe82fd7f57b340004f6fc62dd4509e528931 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 6 Jan 2013 00:13:13 +0100 Subject: de-constify the url parameter for the handler, it becomes invalid after the request anyway --- plugin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin.h') diff --git a/plugin.h b/plugin.h index dd73c57..7373d65 100644 --- a/plugin.h +++ b/plugin.h @@ -23,8 +23,8 @@ struct uhttpd_ops { void (*dispatch_add)(struct dispatch_handler *d); bool (*path_match)(const char *prefix, const char *url); - bool (*create_process)(struct client *cl, struct path_info *pi, const char *url, - void (*cb)(struct client *cl, struct path_info *pi, const char *url)); + bool (*create_process)(struct client *cl, struct path_info *pi, char *url, + void (*cb)(struct client *cl, struct path_info *pi, char *url)); struct env_var *(*get_process_vars)(struct client *cl, struct path_info *pi); void (*client_error)(struct client *cl, int code, const char *summary, const char *fmt, ...); -- cgit v1.2.3