rocco brandi <vicci...@yahoo.it> wrote:
> const tCGI myCGI={string, extract};  //definition of my handler 
>  
> http_set_cgi_handlers(myCGI,1); // for now I have just one handler

That's clearly wrong: http_set_cgi_handlers() accepts a tCGI pointer, but you 
pass a value. You either need to change the call:

http_set_cgi_handlers(&myCGI,1);

or change the definition:

const tCGI myCGI[] = {{string, extract}};

Why did your compiler not warn when implicitly converting 'tCGI' to 'tCGI*'?

Simon
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to