mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 12:28:19 -04:00
Fix allocation error for IOCP listeners. Probably harmless, since struct event is big
This commit is contained in:
parent
127d4f2195
commit
481ef92086
@ -743,7 +743,7 @@ evconnlistener_new_async(struct event_base *base,
|
||||
event_sock_warn(fd, "getsockname");
|
||||
goto err;
|
||||
}
|
||||
lev = mm_calloc(1, sizeof(struct evconnlistener_event));
|
||||
lev = mm_calloc(1, sizeof(struct evconnlistener_iocp));
|
||||
if (!lev) {
|
||||
event_warn("calloc");
|
||||
goto err;
|
||||
|
Loading…
x
Reference in New Issue
Block a user