summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-03-04 18:38:27 +0100
committerErich Eckner <git@eckner.net>2021-03-04 18:39:33 +0100
commit306f61c65a4c4981786e3078c963dbcc74a9590c (patch)
tree51a3114b12100d18139152e60a01a98721478dd8
parent0a55b4ed86a5d9f58b200b6671aa712003a0a93c (diff)
downloadanzeige-306f61c65a4c4981786e3078c963dbcc74a9590c.tar.xz
input_gadgets.c: fh ist nur per http erreichbar!?
-rw-r--r--input_gadgets.c4
1 files 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);