projects
/
project
/
uhttpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
de-constify the url parameter for the handler, it becomes invalid after the request...
[project/uhttpd.git]
/
lua.c
diff --git
a/lua.c
b/lua.c
index
0b06a33
..
7cc05d9
100644
(file)
--- a/
lua.c
+++ b/
lua.c
@@
-200,7
+200,7
@@
error:
return NULL;
}
return NULL;
}
-static void lua_main(struct client *cl, struct path_info *pi, c
onst c
har *url)
+static void lua_main(struct client *cl, struct path_info *pi, char *url)
{
struct blob_attr *cur;
const char *error;
{
struct blob_attr *cur;
const char *error;
@@
-261,7
+261,7
@@
static void lua_main(struct client *cl, struct path_info *pi, const char *url)
exit(0);
}
exit(0);
}
-static void lua_handle_request(struct client *cl, c
onst c
har *url, struct path_info *pi)
+static void lua_handle_request(struct client *cl, char *url, struct path_info *pi)
{
static struct path_info _pi;
{
static struct path_info _pi;