Commit e3cccf380c23891089d7c3a4637cac50010a600d

Nick Mathewson 2012-11-16T11:55:27

Avoid crash when event_pending() called with no event_base set on event Instead, give a warning and return 0. Reported by Antony Dovgal on github as https://github.com/libevent/libevent/issues/19