diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-02-22 09:48:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:52:00 -0500 |
commit | bd1aed3232ac4b2e91b680f3a521dcb3a7ff2225 (patch) | |
tree | 0f110ba734b3f30b5c5f5d0d8942655b946a0944 /source4/lib | |
parent | e15a8b16c164c032e1c67fdb818a1d70404df637 (diff) | |
download | samba-bd1aed3232ac4b2e91b680f3a521dcb3a7ff2225.tar.gz samba-bd1aed3232ac4b2e91b680f3a521dcb3a7ff2225.tar.bz2 samba-bd1aed3232ac4b2e91b680f3a521dcb3a7ff2225.zip |
r13618: fix compiler warning
metze
(This used to be commit 252d5edfb5b4c2a32f943e881f19b61698e9662f)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/cmdline/popt_credentials.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/cmdline/popt_credentials.c b/source4/lib/cmdline/popt_credentials.c index d037cfd7c4..4a85fc5407 100644 --- a/source4/lib/cmdline/popt_credentials.c +++ b/source4/lib/cmdline/popt_credentials.c @@ -86,7 +86,7 @@ static void popt_common_credentials_callback(poptContext con, case OPT_PASSWORD: cli_credentials_set_password(cmdline_credentials, arg, CRED_SPECIFIED); /* Try to prevent this showing up in ps */ - memset(arg,0,strlen(arg)); + memset(discard_const(arg),0,strlen(arg)); break; case 'A': |