diff src/http/ngx_http_request.h @ 6002:f8ee988cfe6d

Style: moved ngx_http_ephemeral() macro to ngx_http_request.h.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 04 Mar 2015 08:10:40 +0300
parents ccad84a174e0
children a08fad30aeac
line wrap: on
line diff
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -577,6 +577,9 @@ typedef struct {
 } ngx_http_ephemeral_t;
 
 
+#define ngx_http_ephemeral(r)  (void *) (&r->uri_start)
+
+
 extern ngx_http_header_t       ngx_http_headers_in[];
 extern ngx_http_header_out_t   ngx_http_headers_out[];