aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-11-30 22:08:59 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-11-30 22:08:59 +0000
commit4d65f6501a3f08314274eb9dee1c94909dfeb1ec (patch)
tree382f86a3d0f88960723ce6e840a08fd3fd98aa79 /src
parent14c84221480b26f74138faf07542f70fb6c2a471 (diff)
downloadnginx-4d65f6501a3f08314274eb9dee1c94909dfeb1ec.tar.gz
nginx-4d65f6501a3f08314274eb9dee1c94909dfeb1ec.zip
zero ngx_url_t
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_core_module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index a52b6218d..fea5cb5b5 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -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;