diff options
-rw-r--r-- | input_gadgets.c | 4 |
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); |