comparison src/http/modules/ngx_http_gzip_static_module.c @ 3237:2efa8d2fcde1 stable-0.7

merge r2903, r2911, r2912, r3002: fix various failures handling
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Oct 2009 15:54:29 +0000
parents 3cd2790f4a9b
children 784126370092
comparison
equal deleted inserted replaced
3236:9aa8fd2d5a00 3237:2efa8d2fcde1
249 { 249 {
250 ngx_http_gzip_static_conf_t *conf; 250 ngx_http_gzip_static_conf_t *conf;
251 251
252 conf = ngx_palloc(cf->pool, sizeof(ngx_http_gzip_static_conf_t)); 252 conf = ngx_palloc(cf->pool, sizeof(ngx_http_gzip_static_conf_t));
253 if (conf == NULL) { 253 if (conf == NULL) {
254 return NGX_CONF_ERROR; 254 return NULL;
255 } 255 }
256 256
257 conf->enable = NGX_CONF_UNSET; 257 conf->enable = NGX_CONF_UNSET;
258 258
259 return conf; 259 return conf;