mirror of
https://github.com/nginx/nginx.git
synced 2026-08-27 04:07:18 +00:00
zero ngx_url_t
This commit is contained in:
parent
14c8422148
commit
4d65f6501a
1 changed files with 2 additions and 0 deletions
|
|
@ -3393,6 +3393,8 @@ ngx_http_core_resolver(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
|||
|
||||
value = cf->args->elts;
|
||||
|
||||
ngx_memzero(&u, sizeof(ngx_url_t));
|
||||
|
||||
u.host = value[1];
|
||||
u.port = 53;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue