]> arthur.barton.de Git - ngircd-alex.git/commit
Check for sockaddr_in.sin_len and initialize it
authorAlexander Barton <alex@barton.de>
Sun, 13 Sep 2009 23:23:19 +0000 (01:23 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 13 Sep 2009 23:23:19 +0000 (01:23 +0200)
commit5b1efaee67044b56f6ecac1ee70883bfc61f8c5d
tree8a2e7e22ecb6209233702cbf1ae254326630d0ae
parentd5f80b2a8deda30d0dcd69bea81a3ca862cf46ca
Check for sockaddr_in.sin_len and initialize it

Test for sockaddr_in.sin_len and initialize it to the correct value
which some systems (notably Mac OS X) require.

Note: this code path is only relevant when not using getaddrinfo().
configure.in
src/ipaddr/ng_ipaddr.c