summaryrefslogtreecommitdiff
path: root/gweb
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-12-07 12:15:43 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2010-12-07 12:15:43 +0100
commit50a1b703c323a54f83afbd38354e718db318e279 (patch)
treed4e52592d63cd8b23fade87f404c5608eaf34622 /gweb
parent86beb1d04b71bb10d11fbc9f121c84be236e31ff (diff)
downloadconnman-50a1b703c323a54f83afbd38354e718db318e279.tar.gz
connman-50a1b703c323a54f83afbd38354e718db318e279.tar.bz2
connman-50a1b703c323a54f83afbd38354e718db318e279.zip
gresolv: Remove ipv6 query from the resolv queue
Diffstat (limited to 'gweb')
-rw-r--r--gweb/gresolv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gweb/gresolv.c b/gweb/gresolv.c
index 0c7613db..c99b6908 100644
--- a/gweb/gresolv.c
+++ b/gweb/gresolv.c
@@ -147,7 +147,7 @@ static void destroy_lookup(struct resolv_lookup *lookup)
}
if (lookup->ipv6_query) {
destroy_query(lookup->ipv6_query);
- g_queue_remove(lookup->resolv->query_queue, lookup->ipv4_query);
+ g_queue_remove(lookup->resolv->query_queue, lookup->ipv6_query);
}
g_free(lookup->results);
g_free(lookup);