diff options
Diffstat (limited to 'include/connection.h')
-rw-r--r-- | include/connection.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/connection.h b/include/connection.h index ab7bd81e1..2cf6d6aa8 100644 --- a/include/connection.h +++ b/include/connection.h @@ -97,7 +97,10 @@ class connection : public Extensible /** Default constructor */ - connection(); + connection() + { + this->fd = -1; + } }; |