]> Kevux Git Server - fll/commitdiff
Bugfix: Incorrect variable name used in fss_read_main_process_help() callback.
authorKevin Day <kevin@kevux.org>
Thu, 8 Jun 2023 05:00:33 +0000 (00:00 -0500)
committerKevin Day <kevin@kevux.org>
Thu, 8 Jun 2023 05:00:33 +0000 (00:00 -0500)
level_3/fss_read/c/main/main.c

index 7e447dd46ff5264f4e1d12f54b7e27e993183257..a9e647de241b88ca6929465e77261af5f267aabd 100644 (file)
@@ -85,7 +85,7 @@ int main(const int argc, const f_string_t *argv, const f_string_t *envp) {
 #ifndef _di_fss_read_main_process_help_
   void fss_read_main_process_help(void * const void_main) {
 
-    if (!main) return;
+    if (!void_main) return;
 
     fss_read_main_print_help(&((fss_read_main_t *) void_main)->program.message);
   }