wip
Fork of Socket by
Diff: Endpoint.cpp
- Revision:
- 6:cd2e5559786d
- Parent:
- 5:300e7ad2dc1d
- Child:
- 16:2d471deff212
diff -r 300e7ad2dc1d -r cd2e5559786d Endpoint.cpp --- a/Endpoint.cpp Thu Jul 26 15:07:32 2012 +0000 +++ b/Endpoint.cpp Fri Jul 27 13:58:53 2012 +0000 @@ -21,7 +21,9 @@ using std::memset; -Endpoint::Endpoint() {} +Endpoint::Endpoint() { + reset_address(); +} Endpoint::~Endpoint() {} void Endpoint::reset_address(void) {