summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/libgadu/common.cpp
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-01-18 17:57:36 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-01-19 01:39:33 +0100
commitfb40ed2b6385b9e3a85b35ba27f3a42207d22234 (patch)
tree9de6415c9c28c68d2fe750abe2c95c3a89ba08ca /protocols/Gadu-Gadu/src/libgadu/common.cpp
parent97bb7e79c15952e7f9bf47caef4e3c09dd63c8df (diff)
Gadu-Gadu: update libgadu to 1.11.4
Diffstat (limited to 'protocols/Gadu-Gadu/src/libgadu/common.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/libgadu/common.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Gadu-Gadu/src/libgadu/common.cpp b/protocols/Gadu-Gadu/src/libgadu/common.cpp
index 07e6a2646b..3ca168abee 100644
--- a/protocols/Gadu-Gadu/src/libgadu/common.cpp
+++ b/protocols/Gadu-Gadu/src/libgadu/common.cpp
@@ -293,6 +293,7 @@ SOCKET gg_connect(void *addr, int port, int async)
}
}
+ memset(&sin, 0, sizeof(sin));
sin.sin_port = htons((uint16_t)port);
sin.sin_family = AF_INET;
sin.sin_addr.s_addr = a->s_addr;