diff options
author | Erich Eckner <git@eckner.net> | 2019-06-20 08:56:00 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-06-20 08:56:00 +0200 |
commit | 51c266aab8bb24e4464cbcec42fea4721c13791e (patch) | |
tree | ce5a702d93a6c850a111c9f6b33be45d9fd68cab /input_gadgets.c | |
parent | 518526e6dbe5654158309291a9f4def92d50376b (diff) | |
download | anzeige-51c266aab8bb24e4464cbcec42fea4721c13791e.tar.xz |
input_gadgets.c: change location to new flat
Diffstat (limited to 'input_gadgets.c')
-rw-r--r-- | input_gadgets.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/input_gadgets.c b/input_gadgets.c index 25eaaac..dfeb0e1 100644 --- a/input_gadgets.c +++ b/input_gadgets.c @@ -277,7 +277,7 @@ char *gadgets_retrieve_weather_forecast(char *output, int max_len) free(chunk.memory); return NULL; } - curl_easy_setopt(curl_handle, CURLOPT_URL, "https://api.met.no/weatherapi/locationforecast/1.9/?lat=50.8830&lon=11.6223&msl=170"); + curl_easy_setopt(curl_handle, CURLOPT_URL, "https://api.met.no/weatherapi/locationforecast/1.9/?lat=50.9336&lon=11.5621&msl=170"); curl_easy_setopt(curl_handle, CURLOPT_FOLLOWLOCATION, 1L); curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, WriteMemoryCallback); curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)&chunk); @@ -288,7 +288,7 @@ char *gadgets_retrieve_weather_forecast(char *output, int max_len) fprintf( stderr, "curl_easy_perform(%s) failed: %s\n", - "https://api.met.no/weatherapi/locationforecast/1.9/?lat=50.8830&lon=11.6223&msl=170", + "https://api.met.no/weatherapi/locationforecast/1.9/?lat=50.9336&lon=11.5621&msl=170", curl_easy_strerror(res) ); free(chunk.memory); @@ -829,7 +829,7 @@ char *gadgets_retrieve_weather_warnings(char *output, int max_len) zip_discard(za); return NULL; } - int ret = point_is_inside_polygon(50.8830, 11.6223, (char *)text); + int ret = point_is_inside_polygon(50.9336, 11.5621, (char *)text); if (ret == 1) is_relevant = 1; else if (ret != 0) { |