diff cinst/main.c @ 299:ccb00bf48b75

Fix misplaced endif
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 02 Apr 2014 16:15:59 +0000
parents f733f4aa2a90
children fac7e1b0e558
line wrap: on
line diff
--- a/cinst/main.c	Wed Apr 02 16:13:37 2014 +0000
+++ b/cinst/main.c	Wed Apr 02 16:15:59 2014 +0000
@@ -200,6 +200,11 @@
   list_status_t list_status;
   bool do_uninstall = false;
 
+  for (ret = 0; ret < argc; ret++)
+    {
+      printf("Arg %i : %s \n", ret, argv[ret]);
+    }
+
   /* Some very static argument parsing. list= and instructions= is only
      added to make it more transparent how this programm is called if
      a user looks at the detailed uac dialog. */
@@ -259,8 +264,8 @@
 #else
     /*TODO*/
       return 0;
+#endif
     }
-#endif
 
   ret = read_instructions_file (instruction_file_name, &to_install,
                                 &to_remove);

http://wald.intevation.org/projects/trustbridge/