summaryrefslogtreecommitdiffstats
path: root/stream/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/udp.c')
-rw-r--r--stream/udp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/udp.c b/stream/udp.c
index 84769ce403..612d73708e 100644
--- a/stream/udp.c
+++ b/stream/udp.c
@@ -72,6 +72,7 @@ udp_open_socket (URL_t *url)
return -1;
}
+ memset(&server_address, 0, sizeof(server_address));
if (isalpha (url->hostname[0]))
{
#if !HAVE_WINSOCK2_H