fix a typo in setting the global event base; reported by lance

svn:r953
This commit is contained in:
Niels Provos 2008-11-27 19:57:48 +00:00
parent ffb3966ec2
commit 4fa4a56253
2 changed files with 2 additions and 1 deletions

View File

@ -129,6 +129,7 @@ Changes in current version:
o Only bind the socket on connect when a local address has been provided; reported by Alejo Sanchez
o Allow setting of local port for evhttp connections to support millions of connections from a single system; from Richard Jones.
o Clear the timer cache when leaving the event loop; reported by Robin Haberkorn
o Fix a typo in setting the global event base; reported by lance.
Changes in 1.4.0:
o allow \r or \n individually to separate HTTP headers instead of the standard "\r\n"; from Charles Kerr.

View File

@ -698,7 +698,7 @@ event_base_loop(struct event_base *base, int flags)
/* clear time cache */
base->tv_cache.tv_sec = 0;
if (&base->sig.ev_signal_added)
if (base->sig.ev_signal_added)
evsignal_base = base;
done = 0;
while (!done) {