Mercurial > trustbridge
comparison 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 |
comparison
equal
deleted
inserted
replaced
298:56507c3d5f1e | 299:ccb00bf48b75 |
---|---|
198 *instruction_file_name = NULL; | 198 *instruction_file_name = NULL; |
199 size_t list_len = 0; | 199 size_t list_len = 0; |
200 list_status_t list_status; | 200 list_status_t list_status; |
201 bool do_uninstall = false; | 201 bool do_uninstall = false; |
202 | 202 |
203 for (ret = 0; ret < argc; ret++) | |
204 { | |
205 printf("Arg %i : %s \n", ret, argv[ret]); | |
206 } | |
207 | |
203 /* Some very static argument parsing. list= and instructions= is only | 208 /* Some very static argument parsing. list= and instructions= is only |
204 added to make it more transparent how this programm is called if | 209 added to make it more transparent how this programm is called if |
205 a user looks at the detailed uac dialog. */ | 210 a user looks at the detailed uac dialog. */ |
206 if (argc != 3 || strncmp(argv[1], "list=", 5) != 0 || | 211 if (argc != 3 || strncmp(argv[1], "list=", 5) != 0 || |
207 strncmp(argv[2], "instructions=", 13) != 0) | 212 strncmp(argv[2], "instructions=", 13) != 0) |
257 #ifdef WIN32 | 262 #ifdef WIN32 |
258 return write_stores_win (NULL, all_valid_certs); | 263 return write_stores_win (NULL, all_valid_certs); |
259 #else | 264 #else |
260 /*TODO*/ | 265 /*TODO*/ |
261 return 0; | 266 return 0; |
262 } | |
263 #endif | 267 #endif |
268 } | |
264 | 269 |
265 ret = read_instructions_file (instruction_file_name, &to_install, | 270 ret = read_instructions_file (instruction_file_name, &to_install, |
266 &to_remove); | 271 &to_remove); |
267 | 272 |
268 if (ret) | 273 if (ret) |