projects
/
libevent
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
127d4f2
)
Fix allocation error for IOCP listeners. Probably harmless, since struct event is big
author
Nick Mathewson
<nickm@torproject.org>
Thu, 23 Sep 2010 21:41:49 +0000
(17:41 -0400)
committer
Nick Mathewson
<nickm@torproject.org>
Thu, 7 Oct 2010 22:11:37 +0000
(18:11 -0400)
listener.c
patch
|
blob
|
history
diff --git
a/listener.c
b/listener.c
index 840b09fdc528483d566149f47b7e7d77c30ad0bc..8eb5b5fc9ec7aeb5b51660da090cb07fae347879 100644
(file)
--- a/
listener.c
+++ b/
listener.c
@@
-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;