Empty commit

This commit is contained in:
Git 2014-01-21 08:00:56 +00:00
parent 043144bb96
commit e0a1f49e10

View File

@ -21,6 +21,7 @@ public static function update_tracker($Action, $Updates, $ToIRC = false) {
send_irc('PRIVMSG #tracker :'.$Get);
}
$Path = TRACKER_SECRET.$Get;
$Header = "GET /$Path HTTP/1.0\r\n\r\n";
$Return = '';
$Attempts = 0;
@ -29,7 +30,6 @@ public static function update_tracker($Action, $Updates, $ToIRC = false) {
// Send update
$File = fsockopen(TRACKER_HOST, TRACKER_PORT, $ErrorNum, $ErrorString);
if ($File) {
$Header = 'GET /'.$Path.' HTTP/1.1\r\n';
if (fwrite($File, $Header) === false) {
$Attempts++;
$Err = "Failed to fwrite()";