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 --- proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proc.c') diff --git a/proc.c b/proc.c index 8680d01..191579f 100644 --- a/proc.c +++ b/proc.c @@ -296,8 +296,8 @@ static int proc_data_send(struct client *cl, const char *data, int len) return retlen; } -bool uh_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 uh_create_process(struct client *cl, struct path_info *pi, char *url, + void (*cb)(struct client *cl, struct path_info *pi, char *url)) { struct dispatch *d = &cl->dispatch; struct dispatch_proc *proc = &d->proc; -- cgit v1.2.3