]> Kevux Git Server - kevux-tools/commitdiff
Update: Latest FLL now returns F_file_descriptor_not.
authorKevin Day <Kevin@kevux.org>
Thu, 27 Nov 2025 14:28:39 +0000 (08:28 -0600)
committerKevin Day <Kevin@kevux.org>
Thu, 27 Nov 2025 14:28:39 +0000 (08:28 -0600)
sources/c/program/kevux/tools/tacocat/main/process.c

index 6d900e70b0cb194988c67e3ae210c2edf8007be5..fd3f829233d4025b1adf390579a57aff0d550362 100644 (file)
@@ -302,8 +302,8 @@ extern "C" {
           main->setting.send.array[i].status = f_socket_connect(&main->setting.send.array[i].socket);
 
           // Treat invalid file descriptor as an error as the descriptor should be valid at this point in time.
-          if (main->setting.send.array[i].status == F_file_descriptor) {
-            main->setting.send.array[i].status = F_status_set_error(F_file_descriptor);
+          if (main->setting.send.array[i].status == F_file_descriptor_not) {
+            main->setting.send.array[i].status = F_status_set_error(F_file_descriptor_not);
           }
         }
         else {