DragonFly BSD
DragonFly commits List (threaded) for 2009-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: dma: don't use sockaddr_storage.ss_len


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 3 Oct 2009 13:45:56 -0700 (PDT)

commit 725a35c66fd19e3a6ac0ed318901e5382587bc5f
Author: Simon Schubert <corecode@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]