mirror of
https://github.com/transmission/transmission
synced 2024-12-23 00:04:06 +00:00
parent
742ae6fb00
commit
d3c3058f16
1 changed files with 0 additions and 8 deletions
|
@ -24,13 +24,5 @@
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
if (argc > 1 && strncmp(argv[1], "-v", 2) == 0)
|
|
||||||
{
|
|
||||||
char* env;
|
|
||||||
int debug = atoi(&argv[1][2]);
|
|
||||||
asprintf(&env, "TR_DEBUG=%d", debug);
|
|
||||||
putenv(env);
|
|
||||||
free(env);
|
|
||||||
}
|
|
||||||
return NSApplicationMain(argc, (char const**)argv);
|
return NSApplicationMain(argc, (char const**)argv);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue