Changeset 35378
- Timestamp:
- Apr 9, 2013, 11:04:53 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130307/pswarp/src/pswarpStatsFile.c
r35373 r35378 36 36 char *name = psMetadataLookupStr(&mdok, config->arguments, "STATS"); ///< Filename for statistics 37 37 38 if (!mdok) return NULL; // XXX this is probably a config error, but treat as ok for now39 if (!name) return NULL;40 if (strlen(name) == 0) return NULL;41 42 38 pswarpStatsFile *statsFile = pswarpStatsFileAlloc (); 43 39 statsFile->name = name; 40 41 if (!mdok) return statsFile; // XXX this is probably a config error, but treat as ok for now 42 if (!name) return statsFile; 43 if (strlen(name) == 0) return statsFile; 44 44 45 45 psString resolved = pmConfigConvertFilename(name, config, true, true); … … 62 62 63 63 if (!statsFile) return true; 64 if (!statsFile->md) return true; 64 65 65 66 // Write out summary statistics
Note:
See TracChangeset
for help on using the changeset viewer.
