assuan_inquire_ext()

Ben Kibbey bjk at luxsci.net
Sat Nov 17 17:20:14 CET 2007


On Mon, Nov 12, 2007 at 03:27:23PM +0100, Marcus Brinkmann wrote:
> At Sun, 11 Nov 2007 11:38:01 -0500,
> Ben Kibbey <bjk at luxsci.net> wrote:
> > 
> > I'm having problems with assuan_inquire_ext() from version 1.0.3. The
> > After reading the inquire from the client I call assuan_process_done().
> 
> What do you mean by reading?  After assuan_inquire_ext, you should
> loop over assuan_process_next until the callback handler you
> registered is invoked.  At that point, the internal variable
> in_inquire will be set to 0 and you can call assuan_process_done and
> continue normally.

This was broken in 1.0.3 but it's fixed in SVN. assuan_inquire() did
reset ctx->in_inquire but assuan_inquire_ext() did not.

Thanks for the fix. I'll look at SVN before posting next time.

-- 
Benjamin J. Kibbey bjk at luxsci.net/jabber/freenode
3019 F5FC AA33 5BC7 BE9F 09D2 393E DBD2 40D5 FA7E



More information about the Gnupg-devel mailing list