* cygtls.cc (_cygtls::remove): Fix typo.

This commit is contained in:
Corinna Vinschen 2009-07-07 08:07:38 +00:00
parent 37b9360dc6
commit 6499c6e07b
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2009-07-07 Corinna Vinschen <corinna@vinschen.de>
* cygtls.cc (_cygtls::remove): Fix typo.
2009-07-06 Christopher Faylor <me+cygwin@cgf.cx> 2009-07-06 Christopher Faylor <me+cygwin@cgf.cx>
* Makefile.in (clean): Clean generated files in srcdir. * Makefile.in (clean): Clean generated files in srcdir.

View File

@ -148,10 +148,9 @@ _cygtls::remove (DWORD wait)
{ {
/* FIXME: Need some sort of atthreadexit function to allow things like /* FIXME: Need some sort of atthreadexit function to allow things like
select to control this themselves. */ select to control this themselves. */
if (!locals.select.sockevt) if (locals.select.sockevt)
{ {
if (locals.select.sockevt) CloseHandle (locals.select.sockevt);
CloseHandle (locals.select.sockevt);
locals.select.sockevt = NULL; locals.select.sockevt = NULL;
free_local (select.ser_num); free_local (select.ser_num);
free_local (select.w4); free_local (select.w4);