mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 12:11:36 +00:00
Empty commit
This commit is contained in:
parent
043144bb96
commit
e0a1f49e10
@ -21,6 +21,7 @@ public static function update_tracker($Action, $Updates, $ToIRC = false) {
|
|||||||
send_irc('PRIVMSG #tracker :'.$Get);
|
send_irc('PRIVMSG #tracker :'.$Get);
|
||||||
}
|
}
|
||||||
$Path = TRACKER_SECRET.$Get;
|
$Path = TRACKER_SECRET.$Get;
|
||||||
|
$Header = "GET /$Path HTTP/1.0\r\n\r\n";
|
||||||
|
|
||||||
$Return = '';
|
$Return = '';
|
||||||
$Attempts = 0;
|
$Attempts = 0;
|
||||||
@ -29,7 +30,6 @@ public static function update_tracker($Action, $Updates, $ToIRC = false) {
|
|||||||
// Send update
|
// Send update
|
||||||
$File = fsockopen(TRACKER_HOST, TRACKER_PORT, $ErrorNum, $ErrorString);
|
$File = fsockopen(TRACKER_HOST, TRACKER_PORT, $ErrorNum, $ErrorString);
|
||||||
if ($File) {
|
if ($File) {
|
||||||
$Header = 'GET /'.$Path.' HTTP/1.1\r\n';
|
|
||||||
if (fwrite($File, $Header) === false) {
|
if (fwrite($File, $Header) === false) {
|
||||||
$Attempts++;
|
$Attempts++;
|
||||||
$Err = "Failed to fwrite()";
|
$Err = "Failed to fwrite()";
|
||||||
|
Loading…
Reference in New Issue
Block a user