IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 7, 2004, 2:19:21 PM (22 years ago)
Author:
desonia
Message:

changed more PS_ERRORTEXT macros to use the filename of the placed used instead of function name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sysUtils/psLogMsg.c

    r1713 r1716  
    1212 *  @author George Gusciora, MHPCC
    1313 *
    14  *  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2004-09-08 00:09:06 $
     14 *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2004-09-08 00:19:21 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    114114    if (sscanf(dest, "%4s:%256s", protocol, location) < 2) {
    115115        psErrorMsg(ERRORNAME_PREFIX "psLogSetDestination", true, PS_ERR_LOCATION_INVALID,
    116                    PS_ERRORTEXT_psLogSetDestination_DESTINATION_MALFORMED,
     116                   PS_ERRORTEXT_psLogMsg_DESTINATION_MALFORMED,
    117117                   dest);
    118118        return false;
     
    135135        }
    136136        psErrorMsg(ERRORNAME_PREFIX "psLogSetDestination", true, PS_ERR_LOCATION_INVALID,
    137                    PS_ERRORTEXT_psLogSetDestination_DEST_LOCATION_INVALID,
     137                   PS_ERRORTEXT_psLogMsg_DEST_LOCATION_INVALID,
    138138                   location);
    139139        return 1;
     
    143143        if (file == NULL) {
    144144            psErrorMsg(ERRORNAME_PREFIX "psLogSetDestination", true, PS_ERR_IO,
    145                        PS_ERRORTEXT_psLogSetDestination_OPEN_FILE_FAILED,
     145                       PS_ERRORTEXT_psLogMsg_OPEN_FILE_FAILED,
    146146                       location);
    147147            return false;
     
    155155
    156156    psErrorMsg(ERRORNAME_PREFIX "psLogSetDestination", true, PS_ERR_LOCATION_INVALID,
    157                PS_ERRORTEXT_psLogSetDestination_UNSUPPORTED_PROTOCOL,
     157               PS_ERRORTEXT_psLogMsg_UNSUPPORTED_PROTOCOL,
    158158               protocol);
    159159    return false;
     
    219219        default:
    220220            psErrorMsg(ERRORNAME_PREFIX "psLogSetFormat", true, PS_ERR_BAD_PARAMETER_VALUE,
    221                        PS_ERRORTEXT_psLogSetFormat_UNKNOWN_KEY, *ptr);
     221                       PS_ERRORTEXT_psLogMsg_UNKNOWN_KEY, *ptr);
    222222            break;
    223223        }
Note: See TracChangeset for help on using the changeset viewer.