[sane-devel] a backend test
Henning Meier-Geinitz
henning at meier-geinitz.de
Fri Mar 22 16:48:16 GMT 2002
Hi,
On Thu, Mar 21, 2002 at 11:04:36PM -0600, Peter Fales wrote:
> Another bug?
>
> I'm hitting line 1265:
>
> if (resolution_mode_optnum) {
>
> with resolution_mode_optnum set to 11, (my highest legal option is
> 10). I think maybe get_optdesc_by_name should set *option_num to zero in
> addition to returning NULL if the option is not found.
0 would be option number count :-)
All the tests should be "if (resolution_mode_opt)" not optnum I guess.
And in fact all but 2 are.
Bye,
Henning
More information about the sane-devel
mailing list