From e0a1f49e1015183380e2cbf2deb88b02fc384454 Mon Sep 17 00:00:00 2001 From: Git Date: Tue, 21 Jan 2014 08:00:56 +0000 Subject: [PATCH] Empty commit --- classes/tracker.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/tracker.class.php b/classes/tracker.class.php index f33981df..b506205e 100644 --- a/classes/tracker.class.php +++ b/classes/tracker.class.php @@ -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()";