git: dma: don't use sockaddr_storage.ss_len
Simon Schubert
corecode at crater.dragonflybsd.org
Sat Oct 3 13:46:42 PDT 2009
commit 725a35c66fd19e3a6ac0ed318901e5382587bc5f
Author: Simon Schubert <corecode at dragonflybsd.org>
Date: Sat Oct 3 21:35:29 2009 +0200
dma: don't use sockaddr_storage.ss_len
sockaddr_storage.ss_len is not mandated by POSIX, so we shouldn't use
it. Instead, use addrinfo.ai_addrlen.
Summary of changes:
libexec/dma/dns.c | 2 +-
libexec/dma/net.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/725a35c66fd19e3a6ac0ed318901e5382587bc5f
--
DragonFly BSD source repository
More information about the Commits
mailing list