mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
(trunk cli) #1598: peer-port not saved correctly
This commit is contained in:
parent
41ea885946
commit
55eb07deff
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ parseCommandLine( tr_benc * d, int argc, const char ** argv )
|
||||||
case 'M': tr_bencDictAddInt( d, TR_PREFS_KEY_PORT_FORWARDING, 0 );
|
case 'M': tr_bencDictAddInt( d, TR_PREFS_KEY_PORT_FORWARDING, 0 );
|
||||||
break;
|
break;
|
||||||
case 'n': sourceFile = optarg; break;
|
case 'n': sourceFile = optarg; break;
|
||||||
case 'p': tr_bencDictAddInt( d, TR_PREFS_KEY_PEER_PORT, 1 );
|
case 'p': tr_bencDictAddInt( d, TR_PREFS_KEY_PEER_PORT, atoi( optarg ) );
|
||||||
break;
|
break;
|
||||||
case 'r': isPrivate = 1;
|
case 'r': isPrivate = 1;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue