Changeset 12993 for trunk/ppStats/src/ppStatsStandAlone.c
- Timestamp:
- Apr 24, 2007, 11:51:19 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppStats/src/ppStatsStandAlone.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStats/src/ppStatsStandAlone.c
r12354 r12993 28 28 29 29 // Get the options, open the files 30 ppStatsData *data = ppStatsSetupFromArgs( config);30 ppStatsData *data = ppStatsSetupFromArgs(&argc, argv, config); 31 31 if (!data) { 32 32 psError(PS_ERR_UNKNOWN, false, "Unable to parse command-line arguments.\n"); … … 37 37 const char *outName = NULL; // Output file name 38 38 FILE *outFile = stdout; // Output file 39 if ( *config->argc == 2) {40 outName = config->argv[1];39 if (argc == 2) { 40 outName = argv[1]; 41 41 if (outName && strlen(outName) > 0) { 42 42 outFile = fopen(outName, "w");
Note:
See TracChangeset
for help on using the changeset viewer.
