1
0
Fork 0
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:
Charles Kerr 2008-12-15 19:30:58 +00:00
parent 41ea885946
commit 55eb07deff

View file

@ -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;