summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Shaw <joe@ximian.com>2002-11-14 18:56:10 +0000
committerJoe Shaw <joeshaw@src.gnome.org>2002-11-14 18:56:10 +0000
commit8b2e3e92ee1cdff1164a74ae305b3933f0d2f65c (patch)
tree3116c6c8375bef86b231b21814504c3b17452191
parentd77a409c64794d246ec47a0a8c2685fdbede7bff (diff)
downloadlibsoup-8b2e3e92ee1cdff1164a74ae305b3933f0d2f65c.tar.gz
When we get an address from the hash, call our address lookup callback or
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.
-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;
}
}