aboutsummaryrefslogtreecommitdiffstats
path: root/assuan/assuan-handler.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2001-12-13 17:37:04 +0000
committerWerner Koch <[email protected]>2001-12-13 17:37:04 +0000
commitb41d06c0a1fdfbf42c12ad7e32a9ee4ba553f7e2 (patch)
treed97795e0cb734da960f885c0298ce2ef10f95f6a /assuan/assuan-handler.c
parentimproce memory handling (diff)
downloadgpgme-b41d06c0a1fdfbf42c12ad7e32a9ee4ba553f7e2.tar.gz
gpgme-b41d06c0a1fdfbf42c12ad7e32a9ee4ba553f7e2.zip
* assuan-handler.c (assuan_get_active_fds): Fixed silly bug,
pretty obvious that nobody ever tested this function.
Diffstat (limited to 'assuan/assuan-handler.c')
-rw-r--r--assuan/assuan-handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/assuan/assuan-handler.c b/assuan/assuan-handler.c
index ff8024aa..614f83d8 100644
--- a/assuan/assuan-handler.c
+++ b/assuan/assuan-handler.c
@@ -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)