dnsproxy: Fix constiness of variables
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 23 May 2012 18:00:08 +0000 (15:00 -0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 28 May 2012 13:22:58 +0000 (16:22 +0300)
commitc6ea537a72b6bf522afad18bf84fd9b3e9ab522b
tree3c4a3c88fe899efd83e4cf36bd937f61f4ae9015
parent2aa593bceff2698fe3ca714152064e4758cf5593
dnsproxy: Fix constiness of variables

There's no point in casting 'domain' and 'query' to char* to remove the
const since we are not modifying them. Also we can avoid another var
entirely by updating the pointers only.
src/dnsproxy.c