summaryrefslogtreecommitdiff
path: root/source3/utils/net_lookup.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-05-05 14:56:30 -0700
committerJeremy Allison <jra@samba.org>2011-05-06 00:57:00 +0200
commit9eee6e2fd2fcb1dcf19541d1bdc72eb048b3ba4a (patch)
tree90247f66882a6fd64604b7a45310364b6a9cfede /source3/utils/net_lookup.c
parentf85e095dd29638dcb4819f60a7239bc37e8a41ca (diff)
downloadsamba-9eee6e2fd2fcb1dcf19541d1bdc72eb048b3ba4a.tar.gz
samba-9eee6e2fd2fcb1dcf19541d1bdc72eb048b3ba4a.tar.bz2
samba-9eee6e2fd2fcb1dcf19541d1bdc72eb048b3ba4a.zip
More const fixes... getting near the end now.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 00:57:00 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/utils/net_lookup.c')
-rw-r--r--source3/utils/net_lookup.c2
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();