2011年3月14日星期一

Re: Question on Evan Miller's tutorial - Body filter?

On Thu, Mar 10, 2011 at 11:06 PM, ctasdemir <nginx-forum@nginx.us> wrote:
>
> At the last line, added_link is being used as a structure pointer but at
> the beginning it's defined as a structure. Am i missing something?
> Compiler gives error for this incompetible usage.
>

If it is a silly C grammatical error, just go ahead and fix it.

BTW,

1. we usually use ngx_chain_t pointers rather than plain structures on
the stack ;)
2. do not assume nobody writes body filter modules; that is silly.


Cheers,
-agentzh

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx

没有评论:

发表评论