Set sockaddr_in.sin_len field when it exists.
authorNoah Lavine <nlavine@haverford.edu>
Sun, 13 Feb 2011 20:31:32 +0000 (15:31 -0500)
committerAndy Wingo <wingo@pobox.com>
Sun, 13 Feb 2011 21:08:44 +0000 (22:08 +0100)
commit482d311b3945a2b7133888b18f1fd18e472f8ce8
treeca67080bc2d4322c15e75b77edabd2da4adfc43a
parente8ab529d57e2c3820e567737bd53c6e05e484c4d
Set sockaddr_in.sin_len field when it exists.

* configure.ac: Detect when struct sockaddr_in has a sin_len field.
  Remove obsolete comment.
* libguile/socket.c (scm_to_sockaddr, scm_fill_sockaddr): Set the
  sin_len field in our struct sockaddr_in when it exists.
configure.ac
libguile/socket.c