Changeset 7400


Ignore:
Timestamp:
Dec 15, 2008, 7:30:58 PM (12 years ago)
Author:
charles
Message:

(trunk cli) #1598: peer-port not saved correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cli/cli.c

    r7367 r7400  
    512512                      break;
    513513            case 'n': sourceFile = optarg; break;
    514             case 'p': tr_bencDictAddInt( d, TR_PREFS_KEY_PEER_PORT, 1 );
     514            case 'p': tr_bencDictAddInt( d, TR_PREFS_KEY_PEER_PORT, atoi( optarg ) );
    515515                      break;
    516516            case 'r': isPrivate = 1;
Note: See TracChangeset for help on using the changeset viewer.