1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-07 09:49:30 +03:00

r13618: fix compiler warning

metze
(This used to be commit 252d5edfb5)
This commit is contained in:
Stefan Metzmacher
2006-02-22 09:48:35 +00:00
committed by Gerald (Jerry) Carter
parent e15a8b16c1
commit bd1aed3232

View File

@ -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':