Changeset 13640 for trunk/ppStats/src/ppStats.c
- Timestamp:
- Jun 5, 2007, 9:36:41 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppStats/src/ppStats.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStats/src/ppStats.c
r8749 r13640 15 15 ) 16 16 { 17 psExit status; 18 17 19 // Get the options, open the files 18 20 ppStatsData *data = ppStatsSetupFromRecipe(NULL, config); … … 29 31 30 32 // Go through the FPA and do the hard work 31 out = ppStatsLoop(out, data, config); 33 psMetadata *result = ppStatsLoop(&status, out, data, config); 34 if (status != PS_EXIT_SUCCESS) { 35 psError (PS_ERR_UNKNOWN, false, "trouble getting stats\n"); 36 psFree(result); 37 psFree(data); 38 return (NULL); 39 } 32 40 33 41 psFree(data); 34 35 return out; 42 return result; 36 43 }
Note:
See TracChangeset
for help on using the changeset viewer.
