comparison src/http/ngx_http_variables.c @ 2878:8535736ace1a

fix segfault introduced in r2845
author Igor Sysoev <igor@sysoev.ru>
date Fri, 22 May 2009 11:32:17 +0000
parents 507fc5ac9839
children ecbfc3396c42
comparison
equal deleted inserted replaced
2877:3cd2790f4a9b 2878:8535736ace1a
1490 u_char *p; 1490 u_char *p;
1491 size_t len; 1491 size_t len;
1492 ngx_buf_t *buf, *next; 1492 ngx_buf_t *buf, *next;
1493 ngx_chain_t *cl; 1493 ngx_chain_t *cl;
1494 1494
1495 if (r->request_body == NULL || r->request_body->temp_file) { 1495 if (r->request_body == NULL
1496 || r->request_body->bufs == NULL
1497 || r->request_body->temp_file)
1498 {
1496 v->not_found = 1; 1499 v->not_found = 1;
1497 1500
1498 return NGX_OK; 1501 return NGX_OK;
1499 } 1502 }
1500 1503