mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r19766: Fix a const-warning. Jerry, what did you want to fix with this line?
Volker
This commit is contained in:
parent
d7179d945c
commit
55dc4741cf
@ -1238,7 +1238,6 @@ static NTSTATUS net_update_dns_internal(TALLOC_CTX *ctx, ADS_STRUCT *ads,
|
|||||||
DNS_ERROR dns_err;
|
DNS_ERROR dns_err;
|
||||||
fstring dns_server;
|
fstring dns_server;
|
||||||
const char *dnsdomain;
|
const char *dnsdomain;
|
||||||
name_to_fqdn( machine_name, global_myname() );
|
|
||||||
|
|
||||||
if ( (dnsdomain = strchr_m( machine_name, '.')) == NULL ) {
|
if ( (dnsdomain = strchr_m( machine_name, '.')) == NULL ) {
|
||||||
d_printf("No DNS domain configured for %s. "
|
d_printf("No DNS domain configured for %s. "
|
||||||
|
Loading…
Reference in New Issue
Block a user