1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-03 10:15:45 +00:00

#5407: Fix crash on Mac when pausing torrents (patch by x190)

This commit is contained in:
Mike Gelfand 2014-12-11 19:57:52 +00:00
parent 7de6a52e14
commit 74c6719bb2

View file

@ -2612,6 +2612,9 @@ tr_peerMgrGetDesiredAvailable (const tr_torrent * tor)
/* common shortcuts... */
if (!tor->isRunning)
return 0;
if (tr_torrentIsSeed (tor))
return 0;