mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
r13618: fix compiler warning
metze
This commit is contained in:
parent
082f418fab
commit
252d5edfb5
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user