IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 22, 2006, 1:52:40 PM (20 years ago)
Author:
jhoblitt
Message:

take \0 char into account when using vsnprintf to calculate line length

File:
1 edited

Legend:

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

    r8476 r8477  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.73 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2006-08-22 23:45:34 $
     11 *  @version $Revision: 1.74 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2006-08-22 23:52:40 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    601601            #endif
    602602
    603             char line[traceLength + 1];
     603            char line[traceLength++];
    604604
    605605            // We indent each message one space for each level of the message.
Note: See TracChangeset for help on using the changeset viewer.