Changeset 11330


Ignore:
Timestamp:
Oct 17, 2010, 5:40:40 PM (11 years ago)
Author:
charles
Message:

(trunk cli) #3629 "transmission-cli 2.10 segfaults on startup" -- fixed. solution by Longinus00

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cli/cli.c

    r11163 r11330  
    234234
    235235    /* the command line overrides defaults */
     236    tr_bencInitDict( &settings, 0 );
    236237    if( parseCommandLine( &settings, argc, (const char**)argv ) )
    237238        return EXIT_FAILURE;
     
    247248
    248249    /* load the defaults from config file + libtransmission defaults */
    249     tr_bencInitDict( &settings, 0 );
    250250    configDir = getConfigDir( argc, (const char**)argv );
    251251    tr_sessionLoadSettings( &settings, configDir, MY_CONFIG_NAME );
Note: See TracChangeset for help on using the changeset viewer.