GNetworkService: fix a small bug

Fix a small bug in the synchronous lookup code introduced in the fix
for bug 629274
(cherry picked from commit cd4f818b301bfc6855b27feba5a0dfdca60027c1)
This commit is contained in:
Dan Winship 2010-10-28 15:17:17 -04:00 committed by Matthias Clasen
parent 3aff43d07a
commit 9c02a27192

View File

@ -435,7 +435,7 @@ g_network_service_address_enumerator_next (GSocketAddressEnumerator *enumerator
g_clear_error (&my_error);
}
if (!targets)
if (my_error)
{
g_propagate_error (error, my_error);
return NULL;