fix(receiver): initialize new sink fields in -m pipeline

This commit is contained in:
2026-09-16 23:05:46 +02:00
parent 2ada8f9ad5
commit 5a104bfd88
+8 -2
View File
@@ -162,8 +162,14 @@ int receive_thread(void* pipeline_context) {
const Config* config = context->config; const Config* config = context->config;
mtx_unlock(&context->mutex); mtx_unlock(&context->mutex);
ReceiverSink sink = { ReceiverSink sink = {receiver_enqueue_file,
receiver_enqueue_file, context, false, false, NULL, receiver_pipeline_note_delete_limit}; context,
false,
false,
NULL,
receiver_pipeline_note_delete_limit,
NULL,
NULL};
if (receiver_process_pending((Config*)config, file_descriptor, &sink, if (receiver_process_pending((Config*)config, file_descriptor, &sink,
&context->deferred_manifest) != 0) { &context->deferred_manifest) != 0) {
receiver_thread_fail(context); receiver_thread_fail(context);