mirror of
https://github.com/nginx/nginx.git
synced 2025-06-11 04:12:40 +08:00
zero ngx_url_t
This commit is contained in:
parent
14c8422148
commit
4d65f6501a
@ -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…
Reference in New Issue
Block a user