]> Kevux Git Server - fll/commitdiff
Progress: Make control program at least compile.
authorKevin Day <thekevinday@gmail.com>
Mon, 15 Jan 2024 03:18:46 +0000 (21:18 -0600)
committerKevin Day <thekevinday@gmail.com>
Mon, 15 Jan 2024 03:18:46 +0000 (21:18 -0600)
I just did some quick tests and getting the control program to compile is just this simple change.
I believe there are still several programs, like the control program, that still need to be migrated from the 0.6 style to the 0.7 style.

level_3/control/c/main/common.c

index baf392a22259353a560c5d6258b800284f35261e..5d5ae6c01b8789e7f2decd41d2c74595fef1b9fb 100644 (file)
@@ -371,7 +371,7 @@ extern "C" {
       return;
     }
 
-    main->setting.state.status = f_socket_connect(main->setting.socket);
+    main->setting.state.status = f_socket_connect(&main->setting.socket);
 
     if (F_status_is_error(main->setting.state.status)) {
       control_print_error(&main->program.error, macro_control_f(f_socket_connect));