lib/addns: remove pointless check for resp->num_additionals != 1
authorStefan Metzmacher <metze@samba.org>
Fri, 9 Nov 2012 07:55:40 +0000 (08:55 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 6 Dec 2012 08:40:19 +0000 (09:40 +0100)
commitfff6962f70e195c55db344d5a20be417213160c3
tree9e22f848d1a38d951e150d2723a57bd2b0171fef
parentabd85a22861400977093b0eea50a12234d41f78a
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)
(cherry picked from commit 0a836951838a1aa70b1f6ade4ad09d4e6cee3c24)
lib/addns/dnsgss.c