From: Volker Lendecke Date: Mon, 27 Apr 2026 11:56:27 +0000 (+0200) Subject: net_dns: Apply some const to DoDNSUpdate() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b4acc03c5580d0ec8bb1eef06c0fce9543345b8;p=thirdparty%2Fsamba.git net_dns: Apply some const to DoDNSUpdate() Signed-off-by: Volker Lendecke Reviewed-by: Stefan Metzmacher --- diff --git a/source3/utils/net_dns.c b/source3/utils/net_dns.c index 486f1752b10..3e2582f3c20 100644 --- a/source3/utils/net_dns.c +++ b/source3/utils/net_dns.c @@ -94,7 +94,7 @@ static DNS_ERROR DoDNSUpdateNegotiateGensec(const char *pszServerName, return err; } -DNS_ERROR DoDNSUpdate(char *pszServerName, +DNS_ERROR DoDNSUpdate(const char *pszServerName, const char *pszDomainName, const char *pszHostName, struct cli_credentials *creds, diff --git a/source3/utils/net_dns.h b/source3/utils/net_dns.h index 508aff9d97a..0dd06c35323 100644 --- a/source3/utils/net_dns.h +++ b/source3/utils/net_dns.h @@ -34,7 +34,7 @@ struct cli_credentials; -DNS_ERROR DoDNSUpdate(char *pszServerName, +DNS_ERROR DoDNSUpdate(const char *pszServerName, const char *pszDomainName, const char *pszHostName, struct cli_credentials *creds,