Changeset 11683


Ignore:
Timestamp:
Jan 15, 2011, 5:16:12 PM (11 years ago)
Author:
livings124
Message:

use a string instead of an int when setting peer-socket-tos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r11640 r11683  
    326326        //hidden pref
    327327        if ([fDefaults objectForKey: @"PeerSocketTOS"])
    328             tr_bencDictAddInt(&settings, TR_PREFS_KEY_PEER_SOCKET_TOS, [fDefaults integerForKey: @"PeerSocketTOS"]);
     328            tr_bencDictAddStr(&settings, TR_PREFS_KEY_PEER_SOCKET_TOS, [[fDefaults stringForKey: @"PeerSocketTOS"] UTF8String]);
    329329       
    330330        tr_bencDictAddBool(&settings, TR_PREFS_KEY_PEX_ENABLED, [fDefaults boolForKey: @"PEXGlobal"]);
Note: See TracChangeset for help on using the changeset viewer.