summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe <[email protected]>2013-04-26 21:43:19 +0300
committerElan Ruusamäe <[email protected]>2013-04-26 21:43:19 +0300
commit70efd95dba479f9f8318c7d50877f2461434a28b (patch)
tree80536f94925c469bfe103401b2fab6ee71383a32
parented1743d663fa167baf1a268d274835625a03150c (diff)
downloadlibmateweather-70efd95dba479f9f8318c7d50877f2461434a28b.tar.bz2
libmateweather-70efd95dba479f9f8318c7d50877f2461434a28b.tar.xz
update weather.noaa.gov url
it's because the .pl url used, redirects. lessen the hops
-rw-r--r--libmateweather/weather-metar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmateweather/weather-metar.c b/libmateweather/weather-metar.c
index 6dfcf9c..da71db5 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", "http://weather.noaa.gov/cgi-bin/mgetmetar.pl",
+ "GET", "http://weather.noaa.gov/mgetmetar.php",
"cccc", loc->code,
NULL);
soup_session_queue_message (info->session, msg, metar_finish, info);