aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbfp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbfp.c b/dbfp.c
index 5b0960d..9bc5b78 100644
--- a/dbfp.c
+++ b/dbfp.c
@@ -13,7 +13,7 @@
#include <stdlib.h>
#include <string.h>
-#define DBFP_BASE_URL "http://open-api.bahn.de/bin/rest.exe"
+#define DBFP_BASE_URL "https://open-api.bahn.de/bin/rest.exe"
#define DBFP_URL_FORMAT "%s/%s?authKey=%s&%s"
#define DBFP_URL_LEN 8000
@@ -79,7 +79,7 @@ int dbfp_init(struct dbfp *dbfp, char *key)
goto cleanup;
}
- curl_global_init(CURL_GLOBAL_ALL ^ CURL_GLOBAL_SSL);
+ curl_global_init(CURL_GLOBAL_ALL);
curl = curl_easy_init();
if (!curl) {
err = DBFP_ERROR_CURL;