Changeset 14524


Ignore:
Timestamp:
May 7, 2015, 6:45:35 AM (6 years ago)
Author:
mikedld
Message:

#5946: Save "prefetch-enabled" setting as boolean (spotted by cfpp2p)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/session.c

    r14491 r14524  
    418418  tr_variantDictAddBool (d, TR_KEY_port_forwarding_enabled,      tr_sessionIsPortForwardingEnabled (s));
    419419  tr_variantDictAddInt  (d, TR_KEY_preallocation,                s->preallocationMode);
    420   tr_variantDictAddInt (d, TR_KEY_prefetch_enabled,             s->isPrefetchEnabled);
     420  tr_variantDictAddBool (d, TR_KEY_prefetch_enabled,             s->isPrefetchEnabled);
    421421  tr_variantDictAddInt  (d, TR_KEY_peer_id_ttl_hours,            s->peer_id_ttl_hours);
    422422  tr_variantDictAddBool (d, TR_KEY_queue_stalled_enabled,        tr_sessionGetQueueStalledEnabled (s));
Note: See TracChangeset for help on using the changeset viewer.