Changeset 14208
- Timestamp:
- Oct 20, 2013, 5:15:19 PM (9 years ago)
- Location:
- trunk/libtransmission
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/resume.c
r14203 r14208 676 676 tr_variantDictAddInt (&top, TR_KEY_max_peers, tor->maxConnectedPeers); 677 677 tr_variantDictAddInt (&top, TR_KEY_bandwidth_priority, tr_torrentGetPriority (tor)); 678 tr_variantDictAddBool (&top, TR_KEY_paused, !tor->isRunning );678 tr_variantDictAddBool (&top, TR_KEY_paused, !tor->isRunning && !tor->isQueued); 679 679 savePeers (&top, tor); 680 680 if (tr_torrentHasMetadata (tor)) … … 779 779 && tr_variantDictFindBool (&top, TR_KEY_paused, &boolVal)) 780 780 { 781 tor->isRunning = !boolVal && !tor->isQueued;781 tor->isRunning = !boolVal; 782 782 fieldsLoaded |= TR_FR_RUN; 783 783 } -
trunk/libtransmission/torrent.c
r14203 r14208 1865 1865 1866 1866 tr_verifyRemove (tor); 1867 torrentSetQueued (tor, false);1868 1867 tr_peerMgrStopTorrent (tor); 1869 1868 tr_announcerTorrentStopped (tor); … … 1874 1873 if (!tor->isDeleting) 1875 1874 tr_torrentSave (tor); 1875 1876 torrentSetQueued (tor, false); 1876 1877 1877 1878 tr_torrentUnlock (tor); … … 3544 3545 tor->isQueued = queued; 3545 3546 tor->anyDate = tr_time (); 3547 tr_torrentSetDirty (tor); 3546 3548 } 3547 3549 }
Note: See TracChangeset
for help on using the changeset viewer.