summaryrefslogtreecommitdiff
path: root/evbuffer-internal.h
diff options
context:
space:
mode:
authorJoachim Bauch <mail@joachim-bauch.de>2011-08-04 23:39:15 +0200
committerJoachim Bauch <mail@joachim-bauch.de>2011-08-09 23:08:54 +0200
commit26041a8ed86be8101573daf57c62c7806be7db08 (patch)
tree9b5a27e5d516e91a317dc85362fdb50d712dc5e5 /evbuffer-internal.h
parent9d7368ae2db526ad678f9aa332c21b2f2b1d8493 (diff)
downloadlibevent-26041a8ed86be8101573daf57c62c7806be7db08.tar.gz
prevent nested multicast references, reworked locking
Diffstat (limited to 'evbuffer-internal.h')
-rw-r--r--evbuffer-internal.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/evbuffer-internal.h b/evbuffer-internal.h
index 75d026d3..1d67973f 100644
--- a/evbuffer-internal.h
+++ b/evbuffer-internal.h
@@ -248,9 +248,8 @@ struct evbuffer_file_segment {
/** Information about the multicast parent of a chain. Lives at the
* end of an evbuffer_chain with the EVBUFFER_MULTICAST flag set. */
struct evbuffer_multicast_parent {
-#ifndef _EVENT_DISABLE_THREAD_SUPPORT
- void *lock; /**< lock prevent concurrent access to the parent */
-#endif
+ /** source buffer the multicast parent belongs to */
+ struct evbuffer *source;
/** multicast parent for this chain */
struct evbuffer_chain *parent;
};