IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 635


Ignore:
Timestamp:
May 10, 2004, 1:37:36 PM (22 years ago)
Author:
desonia
Message:

Changed NULL to '\0' for character assignment on line 90.

Location:
trunk/psLib/src
Files:
2 edited

Legend:

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

    r631 r635  
    88 *  @author Eric Van Alst, MHPCC
    99 *   
    10  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2004-05-10 19:01:36 $
     10 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2004-05-10 23:37:36 $
    1212 *
    1313 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8888    // Ensure the last byte is NULL character
    8989    if ( nChar > 0 ) {
    90         returnValue[nChar-1] = NULL;
     90        returnValue[nChar-1] = '\0';
    9191    }
    9292
  • trunk/psLib/src/sysUtils/psString.c

    r631 r635  
    88 *  @author Eric Van Alst, MHPCC
    99 *   
    10  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2004-05-10 19:01:36 $
     10 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2004-05-10 23:37:36 $
    1212 *
    1313 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8888    // Ensure the last byte is NULL character
    8989    if ( nChar > 0 ) {
    90         returnValue[nChar-1] = NULL;
     90        returnValue[nChar-1] = '\0';
    9191    }
    9292
Note: See TracChangeset for help on using the changeset viewer.