changeset 299:ccb00bf48b75

Fix misplaced endif
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 02 Apr 2014 16:15:59 +0000
parents 56507c3d5f1e
children 534df06d5c67
files cinst/main.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
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/