From 306f61c65a4c4981786e3078c963dbcc74a9590c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 4 Mar 2021 18:38:27 +0100 Subject: input_gadgets.c: fh ist nur per http erreichbar!? --- input_gadgets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input_gadgets.c b/input_gadgets.c index ccfcc87..7daaeaa 100644 --- a/input_gadgets.c +++ b/input_gadgets.c @@ -164,7 +164,7 @@ char *gadgets_retrieve_current_temperature(char *output, int max_len, double *te free(chunk.memory); return NULL; } - curl_easy_setopt(curl_handle, CURLOPT_URL, "https://wetter.mb.eah-jena.de/station/datenbank/php_giese/online.php"); + curl_easy_setopt(curl_handle, CURLOPT_URL, "http://wetter.mb.eah-jena.de/station/datenbank/php_giese/online.php"); 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); @@ -175,7 +175,7 @@ char *gadgets_retrieve_current_temperature(char *output, int max_len, double *te fprintf( stderr, "curl_easy_perform(%s) failed: %s\n", - "https://wetter.mb.eah-jena.de/station/datenbank/php_giese/online.php", + "http://wetter.mb.eah-jena.de/station/datenbank/php_giese/online.php", curl_easy_strerror(res) ); free(chunk.memory); -- cgit v1.2.3-70-g09d2