summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2010-10-28 15:17:17 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-11-12 09:07:00 -0500
commit9c02a271927da2773a139fae64407e360120d2c2 (patch)
tree9a93686c2a526d67eed161ea11ae8eca1d30cb6f
parent3aff43d07ae62961e995237770c820aefa78e5dd (diff)
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)
-rw-r--r--gio/gnetworkservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gnetworkservice.c b/gio/gnetworkservice.c
index 9dd40abfe..0f68ae6b2 100644
--- a/gio/gnetworkservice.c
+++ b/gio/gnetworkservice.c
@@ -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;