IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 29, 2004, 4:07:47 PM (22 years ago)
Author:
desonia
Message:

Fixed psLogSetFormat so that input of "" sets things to default.

File:
1 edited

Legend:

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

    r1141 r1143  
    1111 *  @author George Gusciora, MHPCC
    1212 *
    13  *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2004-06-30 01:58:20 $
     13 *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2004-06-30 02:07:47 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    149149    }
    150150
     151    if (strlen(fmt) == 0) {
     152        fmt = "THLNM";
     153    }
     154
    151155    // Step through each character in the format string.  For each letter
    152156    // in that string, set/unset the appropriate logging.
     
    298302    if (head_ptr > head) {
    299303        *head_ptr++ = '|';
     304    } else if (!p_psLogMsg) { // no output desired
     305        return;
    300306    }
    301307    *head_ptr = '\0';
Note: See TracChangeset for help on using the changeset viewer.