[glib/glib-2-26] GNetworkService: fix a small bug
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-26] GNetworkService: fix a small bug
- Date: Fri, 12 Nov 2010 14:08:57 +0000 (UTC)
commit 9c02a271927da2773a139fae64407e360120d2c2
Author: Dan Winship <danw gnome org>
Date: Thu Oct 28 15:17:17 2010 -0400
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)
gio/gnetworkservice.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gnetworkservice.c b/gio/gnetworkservice.c
index 9dd40ab..0f68ae6 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]