Changeset 7537


Ignore:
Timestamp:
Dec 30, 2008, 1:55:43 AM (12 years ago)
Author:
charles
Message:

(trunk daemon) #1642: fix bug in auth & no-auth command-line options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/daemon.c

    r7507 r7537  
    205205            case 'p': tr_bencDictAddInt( &settings, TR_PREFS_KEY_RPC_PORT, atoi( optarg ) );
    206206                      break;
    207             case 't': tr_bencDictAddInt( &settings, TR_PREFS_KEY_RPC_AUTH_REQUIRED, 0 );
    208                       break;
    209             case 'T': tr_bencDictAddInt( &settings, TR_PREFS_KEY_RPC_AUTH_REQUIRED, 1 );
     207            case 't': tr_bencDictAddInt( &settings, TR_PREFS_KEY_RPC_AUTH_REQUIRED, 1 );
     208                      break;
     209            case 'T': tr_bencDictAddInt( &settings, TR_PREFS_KEY_RPC_AUTH_REQUIRED, 0 );
    210210                      break;
    211211            case 'u': tr_bencDictAddStr( &settings, TR_PREFS_KEY_RPC_USERNAME, optarg );
Note: See TracChangeset for help on using the changeset viewer.