Changeset 13229
- Timestamp:
- May 3, 2007, 5:29:04 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageLoop.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageLoop.c
r12819 r13229 20 20 FILE *statsFile = NULL; // File stream for statistics 21 21 if (mdok && statsName && strlen(statsName) > 0) { 22 statsFile = fopen(statsName, "w"); 22 psString resolved = pmConfigConvertFilename(statsName, config, true); // Resolved filename 23 statsFile = fopen(resolved, "w"); 23 24 if (!statsFile) { 24 psError(PS_ERR_IO, true, "Unable to open statistics file %s for writing.\n", statsName); 25 psError(PS_ERR_IO, true, "Unable to open statistics file %s for writing.\n", resolved); 26 psFree(resolved); 27 return false; 25 28 } else { 26 29 stats = psMetadataAlloc(); 27 30 } 31 psFree(resolved); 28 32 } 29 33
Note:
See TracChangeset
for help on using the changeset viewer.
