Mercurial > hg > nginx
comparison src/core/ngx_conf_file.c @ 3516:dd1570b6f237
ngx_str_set() and ngx_str_null()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 14 May 2010 09:56:37 +0000 |
parents | 151ab752a782 |
children | ac33852faaac |
comparison
equal
deleted
inserted
replaced
3515:76d252724db5 | 3516:dd1570b6f237 |
---|---|
901 ngx_uint_t i; | 901 ngx_uint_t i; |
902 ngx_list_part_t *part; | 902 ngx_list_part_t *part; |
903 ngx_open_file_t *file; | 903 ngx_open_file_t *file; |
904 | 904 |
905 #if (NGX_SUPPRESS_WARN) | 905 #if (NGX_SUPPRESS_WARN) |
906 full.len = 0; | 906 ngx_str_null(&full); |
907 full.data = NULL; | |
908 #endif | 907 #endif |
909 | 908 |
910 if (name->len) { | 909 if (name->len) { |
911 full = *name; | 910 full = *name; |
912 | 911 |