Fix wrong sizeof parameter in register_lq_handler