1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-27 20:44:56 +00:00

update uri to get NOAA METAR data (#325)

This commit is contained in:
krakenfury 2016-10-04 03:47:13 -04:00 committed by Brenden Matthews
parent 774afe202b
commit 397a0e4581

View File

@ -863,7 +863,7 @@ static int process_weather_uri(char *uri, char *locID, int dayf UNUSED_ATTR)
}
} else
#endif /* BUILD_WEATHER_XOAP */
if (strstr(uri, "weather.noaa.gov")) {
if (strstr(uri, "tgftp.nws.noaa.gov")) {
strcat(uri, locID);
strcat(uri, ".TXT");
} else if (!strstr(uri, "localhost") && !strstr(uri, "127.0.0.1")) {