IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13627


Ignore:
Timestamp:
Jun 4, 2007, 4:42:12 PM (19 years ago)
Author:
Paul Price
Message:

Was attempting to open the URI rather than the resolved filename.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStats/src/ppStatsStandAlone.c

    r13435 r13627  
    4141        psString resolved = pmConfigConvertFilename(outName, config, true); // Resolved filename
    4242
    43         if (outName && strlen(outName) > 0) {
    44             outFile = fopen(outName, "w");
     43        if (resolved && strlen(resolved) > 0) {
     44            outFile = fopen(resolved, "w");
    4545            if (!outFile) {
    46                 psLogMsg("ppStats", PS_LOG_ERROR, "Unable to open output file %s\n", resolved);
     46                psError("ppStats", PS_LOG_ERROR, "Unable to open output file %s\n", resolved);
    4747                psFree(resolved);
    4848                // XXX this could be a system or config error, but not a data error
Note: See TracChangeset for help on using the changeset viewer.