* assuan-handler.c (assuan_get_active_fds): Fixed silly bug,

pretty obvious that nobody ever tested this function.
This commit is contained in:
Werner Koch 2001-12-13 17:37:04 +00:00
parent cfcac3496a
commit b41d06c0a1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.
2001-12-12 Werner Koch <wk@gnupg.org>
* assuan-connect.c (assuan_pipe_connect): Implemented the inital

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)