ngx_http_set_ctx() semicolon deletion
Peter Leonov
gojpeg at gmail.com
Fri Dec 4 05:11:07 MSK 2009
Hi, Igor.
May be delete that trailing semicolon?
ngx_http.h:55
- #define ngx_http_set_ctx(r, c, module) r->ctx[module.ctx_index] = c;
+ #define ngx_http_set_ctx(r, c, module) r->ctx[module.ctx_index] = c
It breaks constructs like the following:
if (…)
ngx_http_set_ctx(r, c, module);
else
return;
I'v checked the whole source, there is an additional semicolon after every macro call.
All had been built OK ;)
Best regards,
Peter.
More information about the nginx-devel
mailing list