1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

2001-12-13 Marcus Brinkmann <marcus@gnu.org>

* assuan-buffer.c (assuan_read_line): Fix order of execution to
	get correct return values.

2001-12-13  Werner Koch  <wk@gnupg.org>

	* assuan-handler.c (assuan_get_active_fds): Fixed silly bug,
	pretty obvious that nobody ever tested this function.
This commit is contained in:
Marcus Brinkmann 2001-12-13 20:16:21 +00:00
parent dda2440aea
commit d7db0736fd
3 changed files with 16 additions and 2 deletions

View file

@ -471,7 +471,7 @@ assuan_get_active_fds (ASSUAN_CONTEXT ctx, int what,
{
int n = 0;
if (ctx || fdarraysize < 2 || what < 0 || what > 1)
if (!ctx || fdarraysize < 2 || what < 0 || what > 1)
return -1;
if (!what)