Comprehensive fix: security, bugs, refactoring, tests, and rsync parity features #173
+2
-1
@@ -126,7 +126,8 @@ void handler(int file_descriptor) {
|
|||||||
close(file_descriptor);
|
close(file_descriptor);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
PipelineContextReceiver* context = pipeline_context_receiver_create(config, q, file_descriptor, ssl);
|
PipelineContextReceiver* context =
|
||||||
|
pipeline_context_receiver_create(config, q, file_descriptor, ssl);
|
||||||
if (context == NULL) {
|
if (context == NULL) {
|
||||||
queue_destroy(q);
|
queue_destroy(q);
|
||||||
config_delete(config);
|
config_delete(config);
|
||||||
|
|||||||
@@ -116,7 +116,6 @@ static void test_receiver_fd_zero() {
|
|||||||
pipeline_context_receiver_destroy(ctx);
|
pipeline_context_receiver_destroy(ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Test that receive_thread completes cleanly when sent FINISHED immediately */
|
/* Test that receive_thread completes cleanly when sent FINISHED immediately */
|
||||||
static void test_receive_thread_finished() {
|
static void test_receive_thread_finished() {
|
||||||
Config* cfg = config_create();
|
Config* cfg = config_create();
|
||||||
|
|||||||
Reference in New Issue
Block a user