mirror of
https://github.com/profanity-im/profanity.git
synced 2024-06-16 21:35:24 +00:00
Compare commits
3 Commits
565b9d1487
...
beae9f461b
Author | SHA1 | Date | |
---|---|---|---|
|
beae9f461b | ||
|
e5eb0f41f3 | ||
|
23fa4750ff |
|
@ -9442,6 +9442,7 @@ _url_http_method(ProfWin* window, const char* cmd_template, gchar* url, gchar* p
|
|||
download->filename = strdup(filename);
|
||||
download->id = strdup(id);
|
||||
download->cmd_template = cmd_template ? strdup(cmd_template) : NULL;
|
||||
download->silent = FALSE;
|
||||
|
||||
pthread_create(&(download->worker), NULL, &http_file_get, download);
|
||||
http_download_add_download(download);
|
||||
|
|
|
@ -110,6 +110,7 @@ aesgcm_file_get(void* userdata)
|
|||
http_dl->url = strdup(https_url);
|
||||
http_dl->filename = strdup(tmpname);
|
||||
http_dl->cmd_template = NULL;
|
||||
http_dl->silent = FALSE;
|
||||
aesgcm_dl->http_dl = http_dl;
|
||||
|
||||
http_file_get(http_dl); // TODO(wstrm): Verify result.
|
||||
|
|
Loading…
Reference in New Issue
Block a user