summaryrefslogtreecommitdiff
path: root/src/dnsproxy.c
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2012-11-27 13:48:30 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-11-27 16:06:36 +0200
commit5b47b6c11e6c6bb32dd2342abe5eea96c1e79127 (patch)
tree02db9a150188345f00a319c582ad0e8b48e2f0a5 /src/dnsproxy.c
parent563b0ba29727710e7b415b1f877a628d1f45fc49 (diff)
downloadconnman-5b47b6c11e6c6bb32dd2342abe5eea96c1e79127.tar.gz
connman-5b47b6c11e6c6bb32dd2342abe5eea96c1e79127.tar.bz2
connman-5b47b6c11e6c6bb32dd2342abe5eea96c1e79127.zip
dnsproxy: Fix hash table comparison function to avoid crash
Diffstat (limited to 'src/dnsproxy.c')
-rw-r--r--src/dnsproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dnsproxy.c b/src/dnsproxy.c
index 5e06a97e..ce619095 100644
--- a/src/dnsproxy.c
+++ b/src/dnsproxy.c
@@ -2974,7 +2974,7 @@ int __connman_dnsproxy_init(void)
srandom(time(NULL));
- listener_table = g_hash_table_new_full(g_direct_hash, g_str_equal,
+ listener_table = g_hash_table_new_full(g_direct_hash, g_direct_equal,
NULL, g_free);
index = connman_inet_ifindex("lo");