comparison src/mail/ngx_mail_auth_http_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 a96a8c916b0c
children fb4f7605505f
comparison
equal deleted inserted replaced
3236:9aa8fd2d5a00 3237:2efa8d2fcde1
1300 { 1300 {
1301 ngx_mail_auth_http_conf_t *ahcf; 1301 ngx_mail_auth_http_conf_t *ahcf;
1302 1302
1303 ahcf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_auth_http_conf_t)); 1303 ahcf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_auth_http_conf_t));
1304 if (ahcf == NULL) { 1304 if (ahcf == NULL) {
1305 return NGX_CONF_ERROR; 1305 return NULL;
1306 } 1306 }
1307 1307
1308 ahcf->timeout = NGX_CONF_UNSET_MSEC; 1308 ahcf->timeout = NGX_CONF_UNSET_MSEC;
1309 1309
1310 ahcf->file = cf->conf_file->file.name.data; 1310 ahcf->file = cf->conf_file->file.name.data;