fix upload/download values
This commit is contained in:
parent
2258e0062c
commit
340cf17b29
1 changed files with 4 additions and 4 deletions
|
|
@ -72,9 +72,9 @@ foreach($trackers as $tracker) {
|
|||
$remotePeers = $tracker->announce($hash,
|
||||
$clientPeer->getIp(), $clientPeer->getPort(),
|
||||
isset($_GET["peer_id"]) ? $_GET["peer_id"] : null,
|
||||
isset($_GET["uploaded"]) ? $_GET["uploaded"] : 0,
|
||||
isset($_GET["downloaded"]) ? $_GET["downloaded"] : 0,
|
||||
isset($_GET["left"]) ? $_GET["left"] : 0
|
||||
isset($_GET["uploaded"]) ? intval($_GET["uploaded"]) : 0,
|
||||
isset($_GET["downloaded"]) ? intval($_GET["downloaded"]) : 0,
|
||||
isset($_GET["left"]) ? intval($_GET["left"]) : 0
|
||||
);
|
||||
|
||||
if ($remotePeers != false) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue