]> git.kaiwu.me - nginx.git/commitdiff
nginx-0.0.9-2004-07-26-22:31:43 import
authorIgor Sysoev <igor@sysoev.ru>
Mon, 26 Jul 2004 18:31:43 +0000 (18:31 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 26 Jul 2004 18:31:43 +0000 (18:31 +0000)
src/core/nginx.h
src/http/modules/ngx_http_index_handler.c
src/http/ngx_http.c
src/http/ngx_http_core_module.c

index d8c82b273b1330102ad1979a024263e663102af3..b372d0c5811f1da0af8d7e1242a6710ef776d38a 100644 (file)
@@ -2,7 +2,7 @@
 #define _NGINX_H_INCLUDED_
 
 
-#define NGINX_VER          "nginx/0.0.8"
+#define NGINX_VER          "nginx/0.0.9"
 
 #define NGINX_VAR          "NGINX"
 #define NGX_NEWPID_EXT     ".newbin"
index acfd30850d0163c530dee9709361abf8771af693..87619435de1cf92097e834e64bc9a025db26b6c0 100644 (file)
@@ -98,7 +98,6 @@ ngx_module_t  ngx_http_index_module = {
 ngx_int_t ngx_http_index_handler(ngx_http_request_t *r)
 {
     u_char                     *name;
-    size_t                      len;
     ngx_fd_t                    fd;
     ngx_int_t                   rc;
     ngx_str_t                  *index;
index 4b61d56f9f7d4b83a526416660f497346c4bc8d6..492ba6f8a5a63c6b4c745bc9631d7e98c8930c19 100644 (file)
@@ -69,7 +69,7 @@ static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
     ngx_http_in_addr_t          *in_addr, *inaddr;
     ngx_http_server_name_t      *s_name, *name;
     ngx_http_core_srv_conf_t   **cscfp, *cscf;
-    ngx_http_core_loc_conf_t   **clcfp, *clcf;
+    ngx_http_core_loc_conf_t    *clcf;
     ngx_http_core_main_conf_t   *cmcf;
 #if (WIN32)
     ngx_iocp_conf_t             *iocpcf;
index dbc91bcd3a23c72f098e9c1b61b450a4d0e8acaf..2280c1b74180990b19a31e5360959526ec250a03 100644 (file)
@@ -1264,7 +1264,6 @@ static char *ngx_http_core_merge_srv_conf(ngx_conf_t *cf,
     ngx_http_core_srv_conf_t *conf = child;
 
     ngx_http_listen_t          *l;
-    ngx_http_conf_ctx_t        *ctx;
     ngx_http_server_name_t     *n;
     ngx_http_core_main_conf_t  *cmcf;
 
@@ -1550,7 +1549,6 @@ static char *ngx_set_server_name(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
 
     ngx_uint_t                  i;
     ngx_str_t                  *value;
-    ngx_http_conf_ctx_t        *ctx;
     ngx_http_server_name_t     *sn;
     ngx_http_core_main_conf_t  *cmcf;