GNetworkService: fix a small bug

Fix a small bug in the synchronous lookup code introduced in the fix
for bug 629274
This commit is contained in:
Dan Winship 2010-10-28 15:17:17 -04:00
parent dd9f8b8cc6
commit cd4f818b30

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;