From: Marcus Brinkmann Date: Thu, 10 Jun 2010 13:41:12 +0000 (+0000) Subject: * debug.h (TRACE_SUC6): New macro. X-Git-Tag: gpgme-1.3.1~57 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b243c4263e4ef28362699727ed90589697991fb2;p=gpgme.git * debug.h (TRACE_SUC6): New macro. --- diff --git a/src/w32-glib-io.c b/src/w32-glib-io.c index be73b41..ff21c3d 100644 --- a/src/w32-glib-io.c +++ b/src/w32-glib-io.c @@ -110,7 +110,7 @@ static struct 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;