refresh all package patches in the buildroot using quilt
[openwrt.git] / package / haserl / patches / 100-cookie_prefix.patch
1 Index: haserl-0.8.0/src/haserl.c
2 ===================================================================
3 --- haserl-0.8.0.orig/src/haserl.c      2007-06-04 13:22:30.973146648 +0200
4 +++ haserl-0.8.0/src/haserl.c   2007-06-04 13:22:31.039136616 +0200
5 @@ -74,6 +74,7 @@
6  token_t        /*@null@*/ *token_list = NULL;
7  
8  char   global_variable_prefix[] = HASERL_VAR_PREFIX;
9 +char   cookie_variable_prefix[] = "COOKIE_";
10  int    global_subshell_pipe[4];
11  int    global_subshell_pid;
12  int    global_subshell_died = 0;
13 @@ -221,7 +222,7 @@
14         while (token) {
15                 // skip leading spaces 
16                 while ( token[0] == ' ' ) { token++; }
17 -               myputenv(token, global_variable_prefix);
18 +               myputenv(token, cookie_variable_prefix);
19                 token=strtok(NULL, ";");
20                 }
21         free (qs);