Klaus Demo nginx / 242d1de
style fix Igor Sysoev 13 years ago
1 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
931931
932932 if (in_port->addrs.elts == NULL) {
933933 if (ngx_array_init(&in_port->addrs, cf->temp_pool, 4,
934 sizeof(ngx_http_conf_in_addr_t)) != NGX_OK)
934 sizeof(ngx_http_conf_in_addr_t))
935 != NGX_OK)
935936 {
936937 return NGX_ERROR;
937938 }
980981
981982 if (in_addr->names.elts == NULL) {
982983 if (ngx_array_init(&in_addr->names, cf->temp_pool, 4,
983 sizeof(ngx_http_server_name_t)) != NGX_OK)
984 sizeof(ngx_http_server_name_t))
985 != NGX_OK)
984986 {
985987 return NGX_ERROR;
986988 }