From: Richard Sharpe Date: Thu, 21 Apr 2016 03:56:05 +0000 (-0700) Subject: Fixes an obvious copy-paste error in source3/utils/net_dns.c X-Git-Tag: talloc-2.1.7~212 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac7974a64e9bee8caf9e418f46e6570eb857c1bd;p=thirdparty%2Fsamba.git Fixes an obvious copy-paste error in source3/utils/net_dns.c Signed-off-by: Richard Sharpe Reviewed-by: Jeremy Allison Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Fri Apr 22 10:45:30 CEST 2016 on sn-devel-144 --- diff --git a/source3/utils/net_dns.c b/source3/utils/net_dns.c index 7a04459c2ce..3b9730a5313 100644 --- a/source3/utils/net_dns.c +++ b/source3/utils/net_dns.c @@ -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"));