Add I/O error handling and use filenames instead of file descriptors

This commit is contained in:
William Wennerström
2020-07-21 09:31:47 +02:00
parent 73f313b921
commit 62cbad1c6e
10 changed files with 102 additions and 71 deletions

View File

@@ -50,7 +50,7 @@
typedef struct aesgcm_download_t
{
char* url;
FILE* filehandle;
char* filename;
ProfWin* window;
pthread_t worker;
HTTPDownload* http_dl;