Add http_download tool

This commit is contained in:
William Wennerström
2020-07-02 22:04:21 +02:00
parent 362c6973de
commit 9499df6585
6 changed files with 293 additions and 6 deletions

View File

@@ -176,7 +176,7 @@ http_file_put(void *userdata)
if (asprintf(&msg, "Uploading '%s': 0%%", upload->filename) == -1) {
msg = strdup(FALLBACK_MSG);
}
win_print_http_upload(upload->window, msg, upload->put_url);
win_print_http_transfer(upload->window, msg, upload->put_url);
free(msg);
char* cert_path = prefs_get_string(PREF_TLS_CERTPATH);