mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +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 );
|
||||
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;
|
||||
case 'r': isPrivate = 1;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue