timeserver: Check for resolv before accessing it
authorAlok Barsode <alok.barsode@linux.intel.com>
Thu, 5 Apr 2012 10:20:25 +0000 (13:20 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 5 Apr 2012 15:57:33 +0000 (18:57 +0300)
commit4fdc5f62f304215559c41ca34233b0a10e9c4b2f
tree43918885d6947fb1c848f67985d5949ce2094d1f
parent920950231d5875220010ed5810593d42b0106dc2
timeserver: Check for resolv before accessing it

In order to cancel any ongoing resolution, check
if both resolv and resolv_id are valid.
src/timeserver.c