summaryrefslogtreecommitdiffstats
path: root/lib/Socket.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-11-18 10:47:21 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-11-18 10:47:21 +0100
commit2152cd24f4176199797673729316fab752daca76 (patch)
tree7a5b2ef24cee1532d1c7540645f533064facabc1 /lib/Socket.cpp
parent746b45c0e70b78de948334646409133bc2dbcd87 (diff)
downloaddabmux-2152cd24f4176199797673729316fab752daca76.tar.gz
dabmux-2152cd24f4176199797673729316fab752daca76.tar.bz2
dabmux-2152cd24f4176199797673729316fab752daca76.zip
Common 27ac70f: Initialise InetAddress::addr
Diffstat (limited to 'lib/Socket.cpp')
-rw-r--r--lib/Socket.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Socket.cpp b/lib/Socket.cpp
index cba2767..50a12ba 100644
--- a/lib/Socket.cpp
+++ b/lib/Socket.cpp
@@ -69,7 +69,8 @@ void InetAddress::resolveUdpDestination(const std::string& destination, int port
UDPPacket::UDPPacket() { }
UDPPacket::UDPPacket(size_t initSize) :
- buffer(initSize)
+ buffer(initSize),
+ address()
{ }