summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-09-17 16:43:55 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-09-26 12:33:09 +0300
commiteb435247fd7892e3a711a48cd904bf6e140e0fd1 (patch)
tree02d60e5063498a056e9102b8daac7af432944390
parent5c0e208ba24937a7e3dd1bb363cd790a53f7d329 (diff)
downloadconnman-eb435247fd7892e3a711a48cd904bf6e140e0fd1.tar.gz
connman-eb435247fd7892e3a711a48cd904bf6e140e0fd1.tar.bz2
connman-eb435247fd7892e3a711a48cd904bf6e140e0fd1.zip
resolver: Make sure we do not use already removed timer
-rw-r--r--src/resolver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolver.c b/src/resolver.c
index 009110f9..982b767d 100644
--- a/src/resolver.c
+++ b/src/resolver.c
@@ -564,6 +564,7 @@ int __connman_resolver_redo_servers(const char *interface)
* with RDNSS/DNSSL settings.
*/
g_source_remove(entry->timeout);
+ entry->timeout = 0;
__connman_dnsproxy_append(entry->interface, entry->domain,
entry->server);