From 286e2011d22ea6914d5f2db5de3f11911a1fb663 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Thu, 12 May 2016 16:04:47 +0200 Subject: Miscellaneous minor fixes --- sysdep/unix/io.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sysdep/unix') diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 4db6abb7..08521d75 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -1547,8 +1547,7 @@ sk_sendmsg(sock *s) { struct iovec iov = {s->tbuf, s->tpos - s->tbuf}; byte cmsg_buf[CMSG_TX_SPACE]; - bzero(cmsg_buf, sizeof(cmsg_buf)); - sockaddr dst = {}; + sockaddr dst; sockaddr_fill(&dst, fam_to_af[s->fam], s->daddr, s->iface, s->dport); -- cgit v1.2.3