Hi,

On Thu, Jan 17, 2002 at 03:12:21PM +0000, [email protected] wrote:
> Finally, and worst of all, if I attempt to access my scanner remotely
> gphoto2 reports the Bad Parameters error and then saned exits

saned shouldn't exit. The gphoto2 backend should just return from the sane API
call. It probably doesn't, because it uses "exit(1)".

E.g. if I don't provide a "camera" option in gphoto2.conf and start xsane it
just exits without giving me a chance to select any other scanner that is
available.

Please don't use exit or any other function that ends a program in a
backend. This will stop the frontend immediately, no chance to look for other
backends or close them. Always use "return" with an appropriate status code.

Bye,
   Henning

Reply via email to