Changeset 29184
- Timestamp:
- Sep 21, 2010, 2:38:47 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/src/ippToPsps.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/src/ippToPsps.c
r29179 r29184 250 250 psMemSetDeallocator(this, (psFreeFunc)ippToPsps_Destructor); 251 251 252 // deal with DVO database 253 bool haveDvo = false; 254 for (int i=0;i<*argc; i++) { 255 256 if (strcmp(argv[i], "CATDIR") == 0) {haveDvo = true; break;} 257 } 258 if (haveDvo) this->dvoConfig = dvoConfigRead(argc, argv); 259 else this->dvoConfig = NULL; 260 261 // remaining args 252 262 this->expId = -1; 253 263 this->expName = NULL; … … 261 271 this->fitsOut = NULL; 262 272 this->configsDir = NULL; 263 this->dvoConfig = NULL;264 273 this->config = NULL; 265 this->dvoConfig = dvoConfigRead(argc, argv);266 274 this->pmconfig = pmConfigRead(argc, argv, NULL); 267 275 this->exitCode = PS_EXIT_SUCCESS; … … 299 307 psStringAppend(&this->configsDir, "/stack"); 300 308 301 309 // create filename 302 310 char outputName[100]; 303 311 sprintf(outputName, "%08d.FITS", this->expId);
Note:
See TracChangeset
for help on using the changeset viewer.
