diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-11-26 10:01:31 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-11-26 10:01:31 +0000 |
commit | 449b2e42674180e43f2b4079466c0f43f8122035 (patch) | |
tree | a06a3befc066e69e132179885b2d6f8a5e70152f /source3/utils | |
parent | 52c1e60e68f8e906ce7c6a82b1c32f29cd546659 (diff) | |
download | samba-449b2e42674180e43f2b4079466c0f43f8122035.tar.gz samba-449b2e42674180e43f2b4079466c0f43f8122035.tar.bz2 samba-449b2e42674180e43f2b4079466c0f43f8122035.zip |
Get rid of a const warning
Volker
(This used to be commit ab1096d58e2447bc91370e0a7f913d9375658c4c)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_ads.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index cad93608dc..9404ae4b24 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -209,7 +209,7 @@ static int net_ads_workgroup(int argc, const char **argv) { ADS_STRUCT *ads; TALLOC_CTX *ctx; - char *workgroup; + const char *workgroup; if (!(ads = ads_startup())) return -1; @@ -656,7 +656,7 @@ int net_ads_join(int argc, const char **argv) char *ou_str; uint32 sec_channel_type = SEC_CHAN_WKSTA; uint32 account_type = UF_WORKSTATION_TRUST_ACCOUNT; - char *short_domain_name = NULL; + const char *short_domain_name = NULL; TALLOC_CTX *ctx = NULL; if (argc > 0) org_unit = argv[0]; |