hide password for mac client
This commit is contained in:
parent
275741cc75
commit
a691b48bc0
@ -10,5 +10,15 @@
|
||||
|
||||
int main(int argc, const char *argv[])
|
||||
{
|
||||
const char *ctemp;
|
||||
for (int i = 0; i < argc; i++)
|
||||
{
|
||||
ctemp = argv[i];
|
||||
if (memcmp(ctemp, "/p:", 3) == 0 || memcmp(ctemp, "-p:", 3) == 0)
|
||||
{
|
||||
memset((char *)ctemp + 3, '*', strlen(ctemp) - 3);
|
||||
}
|
||||
}
|
||||
|
||||
return NSApplicationMain(argc, argv);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user