diff options
author | Igor Sysoev <igor@sysoev.ru> | 2010-05-14 13:56:37 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2010-05-14 13:56:37 +0400 |
commit | 05b1a8f1e3595beab4397e25c2a6db9d832a6a97 (patch) | |
tree | 282923e87cbaf9d634dab4a7c69ce85d602effcf /src/core/ngx_conf_file.c | |
parent | 328df7a5cc91180fef3b1b58129e14bc79bef80b (diff) |
ngx_str_set() and ngx_str_null()
Diffstat (limited to 'src/core/ngx_conf_file.c')
-rw-r--r-- | src/core/ngx_conf_file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c index 6d5f510ee..20d9af9e4 100644 --- a/src/core/ngx_conf_file.c +++ b/src/core/ngx_conf_file.c @@ -903,8 +903,7 @@ ngx_conf_open_file(ngx_cycle_t *cycle, ngx_str_t *name) ngx_open_file_t *file; #if (NGX_SUPPRESS_WARN) - full.len = 0; - full.data = NULL; + ngx_str_null(&full); #endif if (name->len) { |