From 410f11767610c0b7f44966e7d8dbbe76bc6f5e52 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Mon, 4 Apr 2022 18:54:36 +0200 Subject: [PATCH] fixed wrong filename --- src/encrypter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/encrypter.c b/src/encrypter.c index 59bbaeb..c44f63b 100644 --- a/src/encrypter.c +++ b/src/encrypter.c @@ -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");