diff options
-rw-r--r-- | dbfp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |