From 8b2e3e92ee1cdff1164a74ae305b3933f0d2f65c Mon Sep 17 00:00:00 2001 From: Joe Shaw Date: Thu, 14 Nov 2002 18:56:10 +0000 Subject: [PATCH] When we get an address from the hash, call our address lookup callback or 2002-12-14 Joe Shaw * 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. --- ChangeLog | 6 ++++++ libsoup/soup-address.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2a7519e..8a687e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-12-14 Joe Shaw + + * 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 * tests/timeserver.c: Oops, commit this. diff --git a/libsoup/soup-address.c b/libsoup/soup-address.c index e6c1af4..f12b172 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; } } -- 2.7.4