summaryrefslogtreecommitdiff
path: root/plugins/NotifyAnything/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NotifyAnything/src/main.cpp')
-rw-r--r--plugins/NotifyAnything/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NotifyAnything/src/main.cpp b/plugins/NotifyAnything/src/main.cpp
index 096b3de9ea..a35a757462 100644
--- a/plugins/NotifyAnything/src/main.cpp
+++ b/plugins/NotifyAnything/src/main.cpp
@@ -885,7 +885,7 @@ DWORD WINAPI udptcpThreadFunc(LPVOID useUdp)
g_tcp_socket = sock;
SOCKADDR_IN addr;
- ZeroMemory(&addr, sizeof addr);
+ memset(&addr, 0, sizeof(addr));
addr.sin_family = AF_INET;
addr.sin_port = htons(g_settings.port);
if (g_settings.local_only) {