mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-12-02 14:24:14 +08:00
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