[glib] GNetworkService: fix a small bug
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GNetworkService: fix a small bug
- Date: Thu, 28 Oct 2010 19:18:17 +0000 (UTC)
commit cd4f818b301bfc6855b27feba5a0dfdca60027c1
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
gio/gnetworkservice.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gnetworkservice.c b/gio/gnetworkservice.c
index 58671a4..c07d57a 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]