Changeset 7027 for trunk/ippTools/src/pztoolConfig.c
- Timestamp:
- May 1, 2006, 3:05:04 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pztoolConfig.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pztoolConfig.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); … … 40 42 config->mode = PX_MODE_COPYDONE; 41 43 } 42 43 // paul's argument parsing convention requires: -key value 44 45 // paul's argument parsing convention requires: -key value 44 46 // Parse other command-line arguments 45 47 psMetadata *args = psMetadataAlloc(); … … 127 129 128 130 // define Database handle, if used 129 config->dbh = pmConfigDB(config-> site);131 config->dbh = pmConfigDB(config->modules); 130 132 131 133 return config; 132 } 134 }
Note:
See TracChangeset
for help on using the changeset viewer.
