Changeset 7027 for trunk/ippTools/src/guidetoolConfig.c
- Timestamp:
- May 1, 2006, 3:05:04 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/guidetoolConfig.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/guidetoolConfig.c
r7024 r7027 15 15 16 16 // setup site config 17 if (! pmConfigRead(&config->site, &config->camera, &config->recipe,18 &argc, argv, RECIPE)) {17 config->modules = pmConfigRead(&argc, argv); 18 if (!config->modules) { 19 19 psError(PS_ERR_UNKNOWN, false, "Can't find site configuration!\n"); 20 20 exit(EXIT_FAILURE); … … 89 89 config->mode = PX_MODE_DEFINE; 90 90 } 91 91 92 92 // parse CLI for these options 93 93 psMetadata *argSet = NULL; … … 125 125 exit(EXIT_FAILURE); 126 126 } 127 127 128 128 psFree(args); 129 129 psFree(pendingArgs); … … 192 192 193 193 // define Database handle, if used 194 config->dbh = pmConfigDB(config-> site);194 config->dbh = pmConfigDB(config->modules); 195 195 196 196 return config; 197 } 197 }
Note:
See TracChangeset
for help on using the changeset viewer.
