assuan_inquire_ext_cb() and return value

Marcus Brinkmann marcus.brinkmann at ruhr-uni-bochum.de
Fri Nov 23 18:49:58 CET 2007


At Sat, 17 Nov 2007 11:37:56 -0500,
Ben Kibbey <bjk at luxsci.net> wrote:
> 
> Would it be better to set the return value of _assuan_inquire_ext_cb()
> to the return value of the callback? If the callback fails for some
> reason, the inquire still succeeds.

Seems like a good idea to me, I applied the patch.  Hopefully it
doesn't break any existing user.

2007-11-23  Marcus Brinkmann  <marcus at g10code.de>

	* assuan-inquire.c (_assuan_inquire_ext_cb): Pass through return
	value from callback function.
	Suggested by Ben Kibbey <bjk at luxsci.net>.
 
Thanks,
Marcus




More information about the Gnupg-devel mailing list