Mercurial > hg > nginx-quic
comparison src/http/ngx_http_variables.c @ 798:97e89a42711f
NULL is short way
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 20 Oct 2006 19:10:16 +0000 |
parents | 36f7b549f481 |
children | 7521e5f5d555 |
comparison
equal
deleted
inserted
replaced
797:36f7b549f481 | 798:97e89a42711f |
---|---|
365 } | 365 } |
366 | 366 |
367 r->variables[index].valid = 0; | 367 r->variables[index].valid = 0; |
368 r->variables[index].not_found = 1; | 368 r->variables[index].not_found = 1; |
369 | 369 |
370 return &r->variables[index]; | 370 return NULL; |
371 } | 371 } |
372 | 372 |
373 | 373 |
374 ngx_http_variable_value_t * | 374 ngx_http_variable_value_t * |
375 ngx_http_get_flushed_variable(ngx_http_request_t *r, ngx_uint_t index) | 375 ngx_http_get_flushed_variable(ngx_http_request_t *r, ngx_uint_t index) |