LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File https_metar.diff of Package FlightGear (Project home:lemmy04:branches:games)

diff -burNE flightgear-2018.3.2/src/Environment/realwx_ctrl.cxx flightgear-2018.3.2_https/src/Environment/realwx_ctrl.cxx
--- flightgear-2018.3.2/src/Environment/realwx_ctrl.cxx	2019-01-29 14:17:50.000000000 +0100
+++ flightgear-2018.3.2_https/src/Environment/realwx_ctrl.cxx	2019-03-03 10:31:14.072273920 +0100
@@ -426,7 +426,7 @@
 )
 {
   static const std::string NOAA_BASE_URL =
-    "http://tgftp.nws.noaa.gov/data/observations/metar/stations/";
+    "https://tgftp.nws.noaa.gov/data/observations/metar/stations/";
   class NoaaMetarGetRequest:
     public simgear::HTTP::MemoryRequest
   {
diff -burNE flightgear-2018.3.2/src/Main/metar_main.cxx flightgear-2018.3.2_https/src/Main/metar_main.cxx
--- flightgear-2018.3.2/src/Main/metar_main.cxx	2019-01-29 14:17:50.000000000 +0100
+++ flightgear-2018.3.2_https/src/Main/metar_main.cxx	2019-03-03 10:30:36.779842940 +0100
@@ -539,7 +539,7 @@
 			try
 			{
               static const std::string NOAA_BASE_URL =
-                "http://tgftp.nws.noaa.gov/data/observations/metar/stations/";
+                "https://tgftp.nws.noaa.gov/data/observations/metar/stations/";
                 HTTP::MemoryRequest* mr = new HTTP::MemoryRequest
                 (
                     NOAA_BASE_URL