dnsproxy: Make sure "rr" is not NULL
authorArjan van de Ven <arjan@linux.intel.com>
Tue, 10 Jan 2012 00:08:21 +0000 (16:08 -0800)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 10 Jan 2012 12:43:57 +0000 (13:43 +0100)
commit7303b631c5fa7a5260f1e80f833079d001bcec40
tree616e2a16cd3a7f336ab97ba94f91ce1864354fbc
parentc23ecc145cbee3fe43210d3c9a7de98d803209d5
dnsproxy: Make sure "rr" is not NULL

I've caught some crashes with connman where "rr" ended up being NULL;
easy to add a check for this and prevent the crash.
src/dnsproxy.c