summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--libsoup/soup-address.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2a7519ed..8a687e89 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-12-14 Joe Shaw <joe@ximian.com>
+
+ * libsoup/soup-address.c (soup_address_new): When we get an
+ address from the hash, call our address lookup callback or else
+ the connection will hang.
+
2002-11-13 Dan Winship <danw@ximian.com>
* tests/timeserver.c: Oops, commit this.
diff --git a/libsoup/soup-address.c b/libsoup/soup-address.c
index e6c1af48..f12b1724 100644
--- a/libsoup/soup-address.c
+++ b/libsoup/soup-address.c
@@ -879,6 +879,7 @@ soup_address_new (const gchar* name, SoupAddressNewFn func, gpointer data)
ia = g_hash_table_lookup (address_hash, name);
if (ia) {
soup_address_ref (ia);
+ (*func) (ia, SOUP_ADDRESS_STATUS_OK, data);
return ia;
}
}