mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
External bencode library and some other changes.
This commit is contained in:
parent
0ed80b7074
commit
bb6f772627
10 changed files with 137 additions and 85 deletions
|
@ -75,7 +75,7 @@ function error_exit($msg = '')
|
|||
|
||||
silent_exit();
|
||||
|
||||
echo bencode(array('failure reason' => str_compact($msg)));
|
||||
echo \Rych\Bencode\Bencode::encode(['failure reason' => str_compact($msg)]);
|
||||
|
||||
tracker_exit();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue