fixed wrong filename

This commit is contained in:
Václav Šmejkal 2022-04-04 18:54:36 +02:00
parent 523c61f371
commit 410f117676

View File

@ -17,7 +17,7 @@ encryptText(char *text, char *keyNew)
//CURL VARIABLES
CURL *curl = curl_easy_init();
FILE *fileBuffer = fopen("file" ,"w");
FILE *fileBuffer = fopen("versions.json" ,"w");
//DOWNLOAD versions.json
curl_easy_setopt(curl, CURLOPT_URL, "https://raw.githubusercontent.com/ENDev-WHY2/WHY2-Encryption-System/c/versions.json");