Of course. Unit tests run fine too.
/Juan 2012/10/25 Nick Mathewson <ni...@freehaven.net>: > On Thu, Oct 25, 2012 at 2:15 PM, Juan Pablo Fernandez > <this.j...@gmail.com> wrote: >> Ok. >> >> How about this: >> >> --- listener.c 2012-07-26 16:24:04.000000000 +0200 >> +++ listener.c.fix 2012-10-25 15:05:24.809285000 +0200 >> @@ -741,6 +741,9 @@ >> } >> LeaveCriticalSection(&as->lock); >> } >> + >> + if (shutdown && lev->flags & LEV_OPT_CLOSE_ON_FREE) >> + evutil_closesocket(lev_iocp->fd); >> UNLOCK(lev); >> return 0; >> } >> > > That looks simple enough. Did you test it? Did it work? > *********************************************************************** > To unsubscribe, send an e-mail to majord...@freehaven.net with > unsubscribe libevent-users in the body. *********************************************************************** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent-users in the body.