diff options
Diffstat (limited to 'update/library/trunk')
| -rw-r--r-- | update/library/trunk/instadisc.php | 6 |
1 files changed, 3 insertions, 3 deletions
| diff --git a/update/library/trunk/instadisc.php b/update/library/trunk/instadisc.php index bfc1101..8a17da0 100644 --- a/update/library/trunk/instadisc.php +++ b/update/library/trunk/instadisc.php | |||
| @@ -18,7 +18,7 @@ function instaDisc_sendItem($id, $title, $author, $url, $semantics) | |||
| 18 | { | 18 | { |
| 19 | global $idusUsername, $idusPassword, $idusCentralServer, $idusSubscriptionURI; | 19 | global $idusUsername, $idusPassword, $idusCentralServer, $idusSubscriptionURI; |
| 20 | 20 | ||
| 21 | $verID = rand(1,65536); | 21 | $verID = rand(1,2147483647); |
| 22 | 22 | ||
| 23 | $client = new xmlrpc_client($idusCentralServer[$id]); | 23 | $client = new xmlrpc_client($idusCentralServer[$id]); |
| 24 | $msg = new xmlrpcmsg("InstaDisc.sendFromUpdate", array( new xmlrpcval($idusUsername[$id], 'string'), | 24 | $msg = new xmlrpcmsg("InstaDisc.sendFromUpdate", array( new xmlrpcval($idusUsername[$id], 'string'), |
| @@ -40,7 +40,7 @@ function instaDisc_sendEncrypted($id, $title, $author, $url, $semantics) | |||
| 40 | $encID = 0; | 40 | $encID = 0; |
| 41 | while ($encID == 0) | 41 | while ($encID == 0) |
| 42 | { | 42 | { |
| 43 | $encID = rand(1,65536); | 43 | $encID = rand(1,2147483647); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | $cipher = "rijndael-128"; | 46 | $cipher = "rijndael-128"; |
| @@ -70,7 +70,7 @@ function instaDisc_sendEncrypted($id, $title, $author, $url, $semantics) | |||
| 70 | 70 | ||
| 71 | mcrypt_module_close($td); | 71 | mcrypt_module_close($td); |
| 72 | 72 | ||
| 73 | $verID = rand(1,65536); | 73 | $verID = rand(1,2147483647); |
| 74 | 74 | ||
| 75 | $client = new xmlrpc_client($idusCentralServer[$id]); | 75 | $client = new xmlrpc_client($idusCentralServer[$id]); |
| 76 | $msg = new xmlrpcmsg("InstaDisc.sendFromUpdate", array( new xmlrpcval($idusUsername[$id], 'string'), | 76 | $msg = new xmlrpcmsg("InstaDisc.sendFromUpdate", array( new xmlrpcval($idusUsername[$id], 'string'), |
