mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 03:02:10 +01:00
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:
parent
3aff43d07a
commit
9c02a27192
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user