11b0c22
From a1011efd4be1d960e2a145f15ad8e7aa92b31fea Mon Sep 17 00:00:00 2001
11b0c22
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <petr.pisar@atlas.cz>
11b0c22
Date: Tue, 15 May 2012 20:31:22 +0200
11b0c22
Subject: [PATCH] Skip warning
11b0c22
11b0c22
NOAA started to warn about redirect to new URL
11b0c22
<http://www.aviationweather.gov/adds/metars/>. This patch skips the warning.
11b0c22
We need to move to the new URL soon.
11b0c22
---
11b0c22
 Src/weather.pl |    2 +-
11b0c22
 1 files changed, 1 insertions(+), 1 deletions(-)
11b0c22
11b0c22
diff --git a/Src/weather.pl b/Src/weather.pl
11b0c22
index 5ceeccd..c556950 100755
11b0c22
--- a/Src/weather.pl
11b0c22
+++ b/Src/weather.pl
11b0c22
@@ -40,7 +40,7 @@ if($mode eq "http")
11b0c22
 		$line=<DATA>;
11b0c22
     }
11b0c22
     $i=0;
11b0c22
-    while($i!=12 && !eof(DATA))
11b0c22
+    while($i!=21 && !eof(DATA))
11b0c22
     {
11b0c22
 		$line=<DATA>;
11b0c22
 		$i++;
11b0c22
-- 
11b0c22
1.7.3.4
11b0c22