Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-03-17 00:26:01 +0300
committerIgor Sysoev <igor@sysoev.ru>2004-03-17 00:26:01 +0300
commitda85f7f5fc233a10abf3cbcbda547c918b67fb27 (patch)
treecf196e3f59770ee720b4ad387eee004b4f28f762 /src/http/ngx_http.h
parent9c61095a30ed2b6bf051dacbbbd26ae2769d9e34 (diff)
nginx-0.0.3-2004-03-17-00:26:01 import
Diffstat (limited to 'src/http/ngx_http.h')
-rw-r--r--src/http/ngx_http.h9
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;