Dispatch Qt attachments using the target captured by the composer
This commit is contained in:
1 parent
d1f03f2f80
commit
4f76b4d765
2 files changed
+18
-57
No files matched your search
@@ -57,6 +57,7 @@ done:
|
||||
|
||||
/* Один выбор транспорта после общей подготовки; групповой индекс и PM crypto не смешиваются. */
|
||||
static void attachment_publish(struct attachment_send_req* req, int error) {
|
||||
attachment_release_pcm(req); /* Submit мог завершиться ошибкой до запуска work. */
|
||||
if (error || req->error || attachment_validate(&req->info)) {
|
||||
DEBUG_ERROR(DEBUG_CATEGORY_MEDIA, "attachment: preparation failed target=%s error=%d worker=%d", req->target, error, req->error);
|
||||
if (remove(req->output) && errno != ENOENT) DEBUG_WARN(DEBUG_CATEGORY_MEDIA, "attachment: output cleanup failed path=%s", req->output);
|
||||
|
||||
Reference in new issue
Block a user