When we get an address from the hash, call our address lookup callback or
authorJoe Shaw <joe@ximian.com>
Thu, 14 Nov 2002 18:56:10 +0000 (18:56 +0000)
committerJoe Shaw <joeshaw@src.gnome.org>
Thu, 14 Nov 2002 18:56:10 +0000 (18:56 +0000)
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.

ChangeLog
libsoup/soup-address.c

index 2a7519e..8a687e8 100644 (file)
--- 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.
index e6c1af4..f12b172 100644 (file)
@@ -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;
                }
        }