summaryrefslogtreecommitdiff
path: root/src/assuan-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/assuan-handler.c')
-rw-r--r--src/assuan-handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/assuan-handler.c b/src/assuan-handler.c
index ff8024a..614f83d 100644
--- a/src/assuan-handler.c
+++ b/src/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)