From ee46e427ae90fbdf14312ddc3e796dd10e7ac13e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 23 Jan 2017 14:15:14 +0100 Subject: [PATCH] Revert "Use task_set_title" This reverts commit 83b1bbe24774fa68f9e0086c4aebaa60bf5e4eee. --- tasks/task_decompress.c | 2 +- tasks/task_http.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/task_decompress.c b/tasks/task_decompress.c index aedf1a7380..e0efb224fb 100644 --- a/tasks/task_decompress.c +++ b/tasks/task_decompress.c @@ -330,7 +330,7 @@ bool task_push_decompress( snprintf(tmp, sizeof(tmp), "%s '%s'", msg_hash_to_str(MSG_EXTRACTING), path_basename(source_file)); - task_set_title(t, strdup(tmp)); + t->title = strdup(tmp); task_queue_ctl(TASK_QUEUE_CTL_PUSH, t); diff --git a/tasks/task_http.c b/tasks/task_http.c index 9e16273e63..9413e9718f 100644 --- a/tasks/task_http.c +++ b/tasks/task_http.c @@ -293,7 +293,7 @@ void *task_push_http_transfer(const char *url, bool mute, const char *type, snprintf(tmp, sizeof(tmp), "%s '%s'", msg_hash_to_str(MSG_DOWNLOADING), path_basename(url)); - task_set_title(t, tmp); + t->title = strdup(tmp); task_queue_ctl(TASK_QUEUE_CTL_PUSH, t);