diff options
author | Ruslan Ermilov <ru@nginx.com> | 2016-07-06 13:22:29 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2016-07-06 13:22:29 +0300 |
commit | 6810b9f14850a7c8aa9becf76236dcf212d088ea (patch) | |
tree | bb272b1a2fe0756587bfd58a22a7061298d5f9b6 /src/core/ngx_file.h | |
parent | 5c4ca2ac80b4ba94c15797fc6f61038740f98f4e (diff) |
Use NGX_MAX_PATH_LEVEL where appropriate.
The macro was unused since 0.7.44.
Diffstat (limited to 'src/core/ngx_file.h')
-rw-r--r-- | src/core/ngx_file.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_file.h b/src/core/ngx_file.h index 5f8228b7b..a723c3d4c 100644 --- a/src/core/ngx_file.h +++ b/src/core/ngx_file.h @@ -49,7 +49,7 @@ typedef void (*ngx_path_loader_pt) (void *data); typedef struct { ngx_str_t name; size_t len; - size_t level[3]; + size_t level[NGX_MAX_PATH_LEVEL]; ngx_path_manager_pt manager; ngx_path_loader_pt loader; @@ -62,7 +62,7 @@ typedef struct { typedef struct { ngx_str_t name; - size_t level[3]; + size_t level[NGX_MAX_PATH_LEVEL]; } ngx_path_init_t; |