diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2016-05-12 16:04:47 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2016-05-12 16:04:47 +0200 |
commit | 286e2011d22ea6914d5f2db5de3f11911a1fb663 (patch) | |
tree | 7caa6725f988f51fab0c3ba09a909c66c828b378 /sysdep/unix/io.c | |
parent | 0c6dfe52369a59d7f3da8ee6bc7c505e3da5c064 (diff) |
Miscellaneous minor fixes
Diffstat (limited to 'sysdep/unix/io.c')
-rw-r--r-- | sysdep/unix/io.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |