[svn] dirmngr - r285 - trunk/src
svn author marcus
cvs at cvs.gnupg.org
Tue Feb 12 02:14:08 CET 2008
Author: marcus
Date: 2008-02-12 02:14:07 +0100 (Tue, 12 Feb 2008)
New Revision: 285
Modified:
trunk/src/ldap.c
Log:
Fix last commit.
Modified: trunk/src/ldap.c
===================================================================
--- trunk/src/ldap.c 2008-02-12 01:13:44 UTC (rev 284)
+++ trunk/src/ldap.c 2008-02-12 01:14:07 UTC (rev 285)
@@ -169,9 +169,9 @@
if (ctx->pid != (pid_t)(-1))
dirmngr_kill_process (ctx->pid);
ksba_reader_release (ctx->reader);
- if (ctx->fd)
+ if (ctx->fd != -1)
pth_close (ctx->fd);
- if (ctx->log_fd)
+ if (ctx->log_fd != -1)
pth_close (ctx->log_fd);
if (ctx->log_ev)
pth_event_free (ctx->log_ev, PTH_FREE_THIS);
More information about the Gnupg-commits
mailing list