[Click] ControlSocket uses reference to local variable

Bart Braem bart.braem at ua.ac.be
Mon Nov 17 10:11:22 EST 2008


Hello,

In proxy_error_function ControlSocket uses cs->proxied_errh . This  
variable is assigned in parse_handler, read_command and llrcp_command  
to a local variable and used later on, in a different function. That  
can't be good, I guess some kind of a class field should be used?

Regards,
Bart Braem
-- 
Bart Braem
PATS research group - IBBT
Dept. of Mathematics and Computer Sciences
University of Antwerp
Campus Middelheim, G3.30
Middelheimlaan 1
B-2020 Antwerpen, Belgium
Phone: +32 (0)3 265.32.91
Fax: +32 (0)3 265.37.77
Web: www.pats.ua.ac.be



More information about the click mailing list