Open jasondcamp opened 12 years ago
diff -rpNu -x .svn wtorrent.orginal/cls/rtorrent.cls.php wtorrent/cls/rtorrent.cls.php
--- wtorrent.orginal/cls/rtorrent.cls.php 2008-12-03 18:03:34.000000000 +0100 +++ wtorrent/cls/rtorrent.cls.php 2008-12-03 18:24:47.000000000 +0100 @@ -134,7 +134,7 @@ class rtorrent extends Web } public function setClient() {
$this->client = new xmlrpc_unix_client(RT_DIR, RT_HOST, RT_PORT);
$this->multicall = new multicall($this->client, $this->data);
if(RT_AUTH)
diff -rpNu -x .svn wtorrent.orginal/lib/inc/includes.inc.php wtorrent/lib/inc/includes.inc.php
--- wtorrent.orginal/lib/inc/includes.inc.php 2008-12-03 18:03:36.000000000 +0100 +++ wtorrent/lib/inc/includes.inc.php 2008-12-03 18:21:56.000000000 +0100 @@ -25,6 +25,7 @@ require_once( 'cls/torrent.cls.php' ); require_once( 'cls/multicall.cls.php' ); //require_once( 'cls/install.cls.php' ); require_once( 'lib/xmlrpc/xmlrpc.inc.php' ); +require_once( 'lib/xmlrpc/xmlrpc_unix.inc.php'); require_once( 'lib/inc/utils.inc.php' ); require_once( 'lib/inc/string.inc.php' ); require_once( 'lib/bdecode/class.bdecode.php' );
diff -rpNu -x .svn wtorrent.orginal/lib/xmlrpc/xmlrpc_unix.inc.php wtorrent/lib/xmlrpc/xmlrpc_unix.inc.php
--- wtorrent.orginal/lib/xmlrpc/xmlrpc_unix.inc.php 1970-01-01 01:00:00.000000000 +0100 +++ wtorrent/lib/xmlrpc/xmlrpc_unix.inc.php 2008-12-03 18:49:45.000000000 +0100 @@ -0,0 +1,80 @@ +<?php
+class xmlrpc_unix_client extends xmlrpc_client { + +
\n---SENDING---\n" . $op . "\n---END---\n";
Index: cls/install.cls.php
--- wtorrent.orginal/cls/install.cls.php 2008-12-03 18:03:34.000000000 +0100 +++ wtorrent/cls/install.cls.php 2008-12-03 18:24:49.000000000 +0100 @@ -231,7 +231,7 @@ class install extends Web } private function tryClient($rt_dir, $rt_host, $rt_port, $rt_auth, $rt_user, $rt_passwd) {