Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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) {