summaryrefslogtreecommitdiffstats
path: root/assuan/assuan-handler.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.com>2001-12-13 21:16:21 +0100
committerMarcus Brinkmann <mb@g10code.com>2001-12-13 21:16:21 +0100
commitd7db0736fd39b0ac4ad165e703deec309b6a0834 (patch)
tree2119eb333bd8e10ed8495be7828282a99d16dbe1 /assuan/assuan-handler.c
parent* keylist.c (list_cert_colon): Print alternative names of subject (diff)
downloadgnupg2-d7db0736fd39b0ac4ad165e703deec309b6a0834.tar.xz
gnupg2-d7db0736fd39b0ac4ad165e703deec309b6a0834.zip
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.
Diffstat (limited to '')
-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)