diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-02-16 00:32:15 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-02-16 00:32:15 -0800 |
commit | b682c4102e31257f96094617275d451c1b0de855 (patch) | |
tree | 2df879d1871a658d4e293aad3e285e5c28e09f64 /env_universal_common.cpp | |
parent | 6d522e6ed6b2e87b193e928e888ca4747a4f974d (diff) |
Eliminate next pointer from connection_t, turn connections into a std::list
Diffstat (limited to 'env_universal_common.cpp')
-rw-r--r-- | env_universal_common.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/env_universal_common.cpp b/env_universal_common.cpp index 1aa169bf..5f1c1eaa 100644 --- a/env_universal_common.cpp +++ b/env_universal_common.cpp @@ -931,12 +931,11 @@ void enqueue_all(connection_t *c) try_send_all(c); } -connection_t::connection_t(const int input_fd) : +connection_t::connection_t(int input_fd) : fd(input_fd), killme(false), buffer_consumed(0), - buffer_used(0), - next(NULL) + buffer_used(0) { } |