comparison src/core/ngx_conf_file.c @ 561:e48ebafc6939 release-0.3.2

nginx-0.3.2-RELEASE import *) Feature: the Sun Studio 10 C compiler support. *) Feature: the "proxy_upstream_max_fails", "proxy_upstream_fail_timeout", "fastcgi_upstream_max_fails", and "fastcgi_upstream_fail_timeout" directives.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 12 Oct 2005 13:50:36 +0000
parents 511a89da35ad
children 9c2f3ed7a247
comparison
equal deleted inserted replaced
560:8886091eddd2 561:e48ebafc6939
658 658
659 old = *name; 659 old = *name;
660 660
661 name->len = cycle->root.len + old.len; 661 name->len = cycle->root.len + old.len;
662 662
663 if (cycle->connections0) { 663 if (cycle->connections) {
664 name->data = ngx_palloc(cycle->pool, name->len + 1); 664 name->data = ngx_palloc(cycle->pool, name->len + 1);
665 if (name->data == NULL) { 665 if (name->data == NULL) {
666 return NGX_ERROR; 666 return NGX_ERROR;
667 } 667 }
668 668