FreeRDP/client/Mac/cli/main.m

25 lines
401 B
Mathematica
Raw Normal View History

//
// main.m
// MacClient2
//
// Created by Benoît et Kathy on 2013-05-08.
//
//
#import <Cocoa/Cocoa.h>
2020-10-20 10:08:37 +03:00
int main(int argc, const char *argv[])
{
2023-01-13 13:09:49 +03:00
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);
}
}
2018-11-29 18:29:07 +03:00
return NSApplicationMain(argc, argv);
}