Mercurial > hg > nginx-quic
diff src/http/ngx_http.h @ 292:a472bfb778b3
nginx-0.0.3-2004-03-17-00:26:01 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 16 Mar 2004 21:26:01 +0000 |
parents | 87e73f067470 |
children | ee394e997c77 |
line wrap: on
line diff
--- a/src/http/ngx_http.h +++ b/src/http/ngx_http.h @@ -23,7 +23,14 @@ typedef struct ngx_http_cleanup_s ngx_h 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;