IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 20, 2004, 6:12:37 PM (22 years ago)
Author:
eugene
Message:

substantial API changes based on change to PSLib SDRS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/src/Utils/error.c

    r707 r753  
    7676int psError(const char *name,           // category of code that caused the error
    7777            psErrorCode code,           // code of error (equivalent to errno)
    78             psErrorStatus status,       // is this a new error?
     78            int new,                    // is this a new error?
    7979            const char *fmt, ...)       // format and possible extra arguments
    8080{
    81     if (code == PS_ERR_NONE || status == PS_NEW_ERROR) { // free old error stack
     81    if (code == PS_ERR_NONE || new) { // free old error stack
    8282        errStack *eptr = errorStack;
    8383
     
    9999       
    100100        va_start(ap, fmt);
    101         p_psLogVMsg(name, PS_LOG_ERROR, fmt, ap);
     101        psLogMsgV(name, PS_LOG_ERROR, fmt, ap);
    102102        va_end(ap);
    103103    }
     
    210210    }
    211211
    212     psErrorVStackPrint(fd, fmt, ap);
     212    psErrorStackPrintV(fd, fmt, ap);
    213213
    214214    if (fmt != NULL) {
     
    217217}
    218218
    219 void psErrorVStackPrint(FILE *fd,       // write to this file descriptor
     219void psErrorStackPrintV(FILE *fd,       // write to this file descriptor
    220220                        const char *fmt,// format for any header information; may be NULL
    221221                        va_list ap)     // arguments for format
Note: See TracChangeset for help on using the changeset viewer.