summaryrefslogtreecommitdiffstats
path: root/contrib/Socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/Socket.h')
-rw-r--r--contrib/Socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/Socket.h b/contrib/Socket.h
index c3c37e1..df80b08 100644
--- a/contrib/Socket.h
+++ b/contrib/Socket.h
@@ -50,7 +50,7 @@
namespace Socket {
struct InetAddress {
- struct sockaddr_storage addr;
+ struct sockaddr_storage addr = {};
struct sockaddr *as_sockaddr() { return reinterpret_cast<sockaddr*>(&addr); };