lib/addns: remove pointless check for resp->num_additionals != 1
commitdd9a98c1e651b314912e93fa68ef2010813b5034
authorStefan Metzmacher <metze@samba.org>
Fri, 9 Nov 2012 07:55:40 +0000 (9 08:55 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 16 Nov 2012 08:13:52 +0000 (16 09:13 +0100)
tree3dee912573f2a49d3cf560b07e877568e5dc2cd1
parent3f5b4ed6bdce39f5730fd9acb69e9b03debda7be
lib/addns: remove pointless check for resp->num_additionals != 1

We never use resp->additionals, so there's no reason to check.

This fixes dns updates against BIND9 (used in a Samba4 domain).

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit b59c5db5f74f56c0536635a41ae51c389109ceb5)
lib/addns/dnsgss.c