mirror of /home/gitosis/repositories/libev.git
*** empty log message ***
This commit is contained in:
parent
31ca40b7a1
commit
91cbb62b51
2
Changes
2
Changes
|
@ -1,5 +1,7 @@
|
|||
Revision history for libev, a high-performance and full-featured event loop.
|
||||
|
||||
- removed redundant 0-ptr check in ev_once.
|
||||
|
||||
4.25 Fri Dec 21 07:49:20 CET 2018
|
||||
- INCOMPATIBLE CHANGE: EV_THROW was renamed to EV_NOEXCEPT
|
||||
(EV_THROW still provided) and now uses noexcept on C++11 or newer.
|
||||
|
|
6
ev.c
6
ev.c
|
@ -5005,12 +5005,6 @@ ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, vo
|
|||
{
|
||||
struct ev_once *once = (struct ev_once *)ev_malloc (sizeof (struct ev_once));
|
||||
|
||||
if (expect_false (!once))
|
||||
{
|
||||
cb (EV_ERROR | EV_READ | EV_WRITE | EV_TIMER, arg);
|
||||
return;
|
||||
}
|
||||
|
||||
once->cb = cb;
|
||||
once->arg = arg;
|
||||
|
||||
|
|
Loading…
Reference in New Issue