Re: Fix tcpbench libevent segfault

2011-08-20 Thread Claudio Jeker
On Sat, Aug 20, 2011 at 09:14:30AM +0100, Stuart Henderson wrote: > On 2011/08/20 03:37, Christiano F. Haesbaert wrote: > > Hi there, this fixes a segfault seen by sthen@ which I could only > > reproduce yesterday. I had fogotten to event_del() a persistent event. > > Ah yes that makes sense, and

Re: Fix tcpbench libevent segfault

2011-08-20 Thread Stuart Henderson
On 2011/08/20 03:37, Christiano F. Haesbaert wrote: > Hi there, this fixes a segfault seen by sthen@ which I could only > reproduce yesterday. I had fogotten to event_del() a persistent event. Ah yes that makes sense, and it fixes my problem. Thanks! OK to commit it? > Index: tcpbench.c > ==

Fix tcpbench libevent segfault

2011-08-19 Thread Christiano F. Haesbaert
Hi there, this fixes a segfault seen by sthen@ which I could only reproduce yesterday. I had fogotten to event_del() a persistent event. Index: tcpbench.c === RCS file: /cvs/src/usr.bin/tcpbench/tcpbench.c,v retrieving revision 1.22