Empty commit

This commit is contained in:
Git 2011-11-08 08:00:26 +00:00
parent c166ade5a1
commit d2d5642c7a
2 changed files with 4 additions and 5 deletions

View File

@ -292,14 +292,13 @@ function make_private() {
unset($this->Val['libtorrent_resume']);
//----- End properties that do not affect the infohash
if ($this->Val['info']->Val['private']) {
return true; // Torrent is private
} else {
// Torrent is not private!
// add private tracker flag
// add private tracker flag and sort info dictionary
$this->Val['info']->Val['private'] = 1;
ksort($this->Val['info']->Val);
return false;
}
}

View File

@ -288,9 +288,9 @@ function make_private() {
return true;
} else {
// Torrent is not private!
// add private tracker flag
// add private tracker flag and sort info dictionary
$this->Val['info']->Val['private'] = '[*INT*]1';
ksort($this->Val['info']->Val);
return false;
}
}