Changeset 7027 for trunk/ippTools/src/regtoolConfig.c
- Timestamp:
- May 1, 2006, 3:05:04 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/regtoolConfig.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/regtoolConfig.c
r6978 r7027 12 12 } 13 13 14 if (! pmConfigRead(&config->site, &config->camera, &config->recipe, &argc, argv, RECIPE)) { 14 config->modules = pmConfigRead(&argc, argv); 15 16 if (! config->modules) { 15 17 psError(PS_ERR_UNKNOWN, false, "Can't find site configuration!\n"); 16 18 exit(EXIT_FAILURE); … … 33 35 config->mode = PX_MODE_UPDATE; 34 36 } 35 36 // paul's argument parsing convention requires: -key value 37 38 // paul's argument parsing convention requires: -key value 37 39 // Parse other command-line arguments 38 40 psMetadata *args = psMetadataAlloc(); … … 191 193 192 194 // define Database handle, if used 193 config->dbh = pmConfigDB(config-> site);195 config->dbh = pmConfigDB(config->modules); 194 196 195 197 return true; 196 } 198 }
Note:
See TracChangeset
for help on using the changeset viewer.
