File: 0004_data-server-url-changed.patch

package info (click to toggle)
libmateweather 1.26.0-1.1%2Bdeb12u2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 52,084 kB
  • sloc: ansic: 5,133; makefile: 699; sh: 80; perl: 66
file content (25 lines) | stat: -rw-r--r-- 832 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From b75056f5bccf506959a2075305f7e8abbb2502dd Mon Sep 17 00:00:00 2001
From: Mike Ovchinnikov <mixao@yandex.ru>
Date: Wed, 18 Oct 2023 14:59:53 +0400
Subject: Dataserver url changed

---
 libmateweather/weather-metar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmateweather/weather-metar.c b/libmateweather/weather-metar.c
index a9f3c84..0ae2cbb 100644
--- a/libmateweather/weather-metar.c
+++ b/libmateweather/weather-metar.c
@@ -550,7 +550,7 @@ metar_start_open (WeatherInfo *info)
     }
 
     msg = soup_form_request_new (
-        "GET", "https://www.aviationweather.gov/adds/dataserver_current/httpparam",
+        "GET", "https://www.aviationweather.gov/cgi-bin/data/dataserver.php",
         "dataSource", "metars",
         "requestType", "retrieve",
         "format", "xml",
-- 
cgit v1.2.1