First stab at resolving coverity warnings
Coverity fixes for mydns
Merge pull request #859 from cyclops1982/coverity

Coverity fixes for tinyDns and myDNS