[svn] gpgme - r1477 - trunk/src

svn author marcus cvs at cvs.gnupg.org
Thu Jun 10 15:41:12 CEST 2010


Author: marcus
Date: 2010-06-10 15:41:12 +0200 (Thu, 10 Jun 2010)
New Revision: 1477

Modified:
   trunk/src/w32-glib-io.c
Log:

	* debug.h (TRACE_SUC6): New macro.


Modified: trunk/src/w32-glib-io.c
===================================================================
--- trunk/src/w32-glib-io.c	2010-06-09 13:33:31 UTC (rev 1476)
+++ trunk/src/w32-glib-io.c	2010-06-10 13:41:12 UTC (rev 1477)
@@ -110,7 +110,7 @@
 static GIOChannel *
 find_channel (int fd)
 {
-  if (fd < 0 || fd >= MAX_SLAFD)
+  if (fd < 0 || fd >= MAX_SLAFD || !giochannel_table[fd].used)
     return NULL;
 
   return giochannel_table[fd].chan;





More information about the Gnupg-commits mailing list