Skip to content

Instantly share code, notes, and snippets.

@faried
Created October 22, 2016 11:34
Show Gist options
  • Save faried/d7f06caf889e68838f2dd199586d55c7 to your computer and use it in GitHub Desktop.
Save faried/d7f06caf889e68838f2dd199586d55c7 to your computer and use it in GitHub Desktop.
diff to get wmweather 2.4.5 to work again
--- wmweather-2.4.5/src/wmweather.c~ 2016-08-04 00:20:09.027746575 +0500
+++ wmweather-2.4.5/src/wmweather.c 2016-08-04 00:16:08.836421544 +0500
@@ -62,7 +62,7 @@
static struct memory
header = {NULL, 0};
char
- url[] = "http://weather.noaa.gov/pub/data/observations/metar/decoded/\0\0\0\0.TXT",
+ url[] = "http://tgftp.nws.noaa.gov/data/observations/metar/decoded/\0\0\0\0.TXT",
xtitle[] = "weather report for \0\0\0\0\0",
*station = NULL,
*report = NULL,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment