Powerdns plugin: fix logging on failed lookup
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 28 Feb 2015 19:05:14 +0000 (20:05 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Tue, 3 Mar 2015 22:56:39 +0000 (23:56 +0100)
commit7096c4c6232255405bc6c8b7d5bc3532267b1596
tree314fdd56c8f4f10ffe0d2504e881e1a70f942a4a
parent7f8f2f96cdccf063b51c31c965cd19f0cd6281e3
Powerdns plugin: fix logging on failed lookup

Don't look past the end of the array but check the boundary first.
src/powerdns.c