Call soup_dns_entry_get_hostent() on the SoupAddress passed in, not the
authorJoe Shaw <joe@ximian.com>
Fri, 24 Oct 2003 17:15:17 +0000 (17:15 +0000)
committerJoe Shaw <joeshaw@src.gnome.org>
Fri, 24 Oct 2003 17:15:17 +0000 (17:15 +0000)
commitfc22d135bef1fbaec5a7c305e79f85c8c03bafc8
treef1a236adc95a1ea6193e9670072dc58edadc199c
parent5f376beed2def4add67031287296ff21c49ab66d
Call soup_dns_entry_get_hostent() on the SoupAddress passed in, not the

2003-10-24  Joe Shaw  <joe@ximian.com>

* libsoup/soup-address.c (update_address_from_entry): Call
soup_dns_entry_get_hostent() on the SoupAddress passed in, not the
one in addr->priv->lookup.  Fixes a crash on synchronous DNS
lookups.

* libsoup/soup-server.c (soup_server_new): We need to ref the
address we're binding to, because soup_socket_get_local_address()
doesn't ref for us.
ChangeLog