diff options
Diffstat (limited to 'src/http/ngx_http.h')
| -rw-r--r-- | src/http/ngx_http.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h index 35879d41c..ec2778a4c 100644 --- a/src/http/ngx_http.h +++ b/src/http/ngx_http.h @@ -23,7 +23,14 @@ typedef struct ngx_http_cleanup_s ngx_http_cleanup_t; typedef struct { u_int connection; - u_char *action; + + /* + * we declare "action" as "char *" because the actions are usually + * the static strings and in the "u_char *" case we have to override + * all the time their types + */ + + char *action; u_char *client; u_char *url; } ngx_http_log_ctx_t; |
