Fixes an obvious copy-paste error in source3/utils/net_dns.c
authorRichard Sharpe <rsharpe@nutanix.com>
Thu, 21 Apr 2016 03:56:05 +0000 (20:56 -0700)
committerVolker Lendecke <vl@samba.org>
Fri, 22 Apr 2016 08:45:30 +0000 (10:45 +0200)
Signed-off-by: Richard Sharpe <rsharpe@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Apr 22 10:45:30 CEST 2016 on sn-devel-144

source3/utils/net_dns.c

index 7a04459c2ced93143217a22ee7bcb49ca046f3ad..3b9730a53131ca40064b2f6cc7a4e661c3e0c3fc 100644 (file)
@@ -72,7 +72,6 @@ DNS_ERROR DoDNSUpdate(char *pszServerName,
                if (!ERR_DNS_IS_OK(err)) goto error;
 
                err = dns_update_transaction(mem_ctx, conn, req, &resp);
-               if (!ERR_DNS_IS_OK(err)) goto error;
 
                if (!ERR_DNS_IS_OK(err)) {
                        DEBUG(3,("DoDNSUpdate: failed to probe DNS\n"));