Changeset 27088 for trunk/ppSub/src/ppSub.c
- Timestamp:
- Feb 25, 2010, 1:17:16 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSub.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSub.c
r27078 r27088 78 78 } 79 79 80 if (data) {81 psString dump_file = psMetadataLookupStr(NULL, data->config->arguments, "-dumpconfig");82 if (dump_file) {83 if (!pmConfigDump(data->config, dump_file)) {84 psError(PPSUB_ERR_IO, false, "Unable to dump configuration.");85 }86 }87 psFree(data);88 }89 90 80 psExit exitValue = PS_EXIT_SUCCESS; // Exit value for program 91 81 psErrorCode errorCode = psErrorCodeLast(); // Error code … … 132 122 } 133 123 124 if (data) { 125 psString dump_file = psMetadataLookupStr(NULL, data->config->arguments, "-dumpconfig"); 126 if (dump_file) { 127 if (!pmConfigDump(data->config, dump_file)) { 128 psError(PPSUB_ERR_IO, false, "Unable to dump configuration."); 129 } 130 } 131 psFree(data); 132 } 133 134 134 psTrace("ppSub", 1, "Finished at %f sec\n", psTimerMark("ppSub")); 135 135 psTimerStop();
Note:
See TracChangeset
for help on using the changeset viewer.
