2006-01-03 Marcus Brinkmann <marcus@g10code.de>

* w32-glib-io.c (_gpgme_io_close): Only close fd if there is no
	channel for it.
This commit is contained in:
Marcus Brinkmann 2006-01-03 14:20:12 +00:00
parent 253577cb2a
commit 1fc25af357
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-01-03 Marcus Brinkmann <marcus@g10code.de>
* w32-glib-io.c (_gpgme_io_close): Only close fd if there is no
channel for it.
2005-12-31 Marcus Brinkmann <marcus@g10code.de>
* w32-glib-io.c (find_channel): Set channel to unbuffered.

View File

@ -287,8 +287,8 @@ _gpgme_io_close (int fd)
g_io_channel_unref (chan);
giochannel_table[fd] = NULL;
}
_close (fd);
else
_close (fd);
return 0;
}