summaryrefslogtreecommitdiff
path: root/weather.cpp
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2015-12-29 13:33:28 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2015-12-29 13:33:28 +0100
commitfb5f9b0944a730f48bec0972c86546cda8ad3639 (patch)
tree9ac6bea54679e6dd3eb2e9205785649a023b5f46 /weather.cpp
parentf298525926c333e94a285ff69dce4ff999701959 (diff)
downloadweather-snowman-fb5f9b0944a730f48bec0972c86546cda8ad3639.tar.gz
weather-snowman-fb5f9b0944a730f48bec0972c86546cda8ad3639.zip
alert on missing API key
Diffstat (limited to 'weather.cpp')
-rw-r--r--weather.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/weather.cpp b/weather.cpp
index 4fabb1e..e76e462 100644
--- a/weather.cpp
+++ b/weather.cpp
@@ -7,6 +7,7 @@
#define JSONSIZE 1500 // json buffer size, for a cnt=2 request
// ^ be careful with counter over/underflows!
+#error "Specify an OpenWeatherMap API key and delete this line."
#define CITYID "YOURCITYID"
#define APIKEY "YOURAPIKEY"