summaryrefslogtreecommitdiff
path: root/gresolv
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-07-27 18:21:41 -0700
committerMarcel Holtmann <marcel@holtmann.org>2010-07-27 18:21:41 -0700
commit36d2e299ce90b620ca9a64e19b778b4c8c949a47 (patch)
treeb0144bd2eb5a71ca49a5346caf165f220846ad96 /gresolv
parent9e91d338e83a804473da043a1a980cbae6ebbc52 (diff)
downloadconnman-36d2e299ce90b620ca9a64e19b778b4c8c949a47.tar.gz
connman-36d2e299ce90b620ca9a64e19b778b4c8c949a47.tar.bz2
connman-36d2e299ce90b620ca9a64e19b778b4c8c949a47.zip
Fix issue with missing query id return value of resolver library
Diffstat (limited to 'gresolv')
-rw-r--r--gresolv/gresolv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gresolv/gresolv.c b/gresolv/gresolv.c
index 09ecd5c3..ba19672f 100644
--- a/gresolv/gresolv.c
+++ b/gresolv/gresolv.c
@@ -451,7 +451,7 @@ guint g_resolv_lookup_hostname(GResolv *resolv, const char *hostname,
query->timeout = g_timeout_add_seconds(5, query_timeout, query);
- return 0;
+ return query->id;
}
gboolean g_resolv_cancel_lookup(GResolv *resolv, guint id)