aboutsummaryrefslogtreecommitdiffstats
path: root/assuan/assuan-handler.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2001-12-13 20:16:21 +0000
committerMarcus Brinkmann <[email protected]>2001-12-13 20:16:21 +0000
commitd7db0736fd39b0ac4ad165e703deec309b6a0834 (patch)
tree2119eb333bd8e10ed8495be7828282a99d16dbe1 /assuan/assuan-handler.c
parent* keylist.c (list_cert_colon): Print alternative names of subject (diff)
downloadgnupg-d7db0736fd39b0ac4ad165e703deec309b6a0834.tar.gz
gnupg-d7db0736fd39b0ac4ad165e703deec309b6a0834.zip
2001-12-13 Marcus Brinkmann <[email protected]>
* assuan-buffer.c (assuan_read_line): Fix order of execution to get correct return values. 2001-12-13 Werner Koch <[email protected]> * 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 ff8024aa0..614f83d8a 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)