diff options
Diffstat (limited to 'source3/utils/net_lookup.c')
-rw-r--r-- | source3/utils/net_lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_lookup.c b/source3/utils/net_lookup.c index 06aedbd473..7179d01fe3 100644 --- a/source3/utils/net_lookup.c +++ b/source3/utils/net_lookup.c @@ -290,7 +290,7 @@ static int net_lookup_kdc(struct net_context *c, int argc, const char **argv) } if (argc>0) { - realm.data = CONST_DISCARD(char *, argv[0]); + realm.data = discard_const_p(char, argv[0]); realm.length = strlen(argv[0]); } else if (lp_realm() && *lp_realm()) { realm.data = lp_realm(); |