IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 22, 2006, 11:53:49 AM (20 years ago)
Author:
jhoblitt
Message:

call gethostname with MAX_HOSTNAME_LENGTH instead of a constant

File:
1 edited

Legend:

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

    r8472 r8473  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.71 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2006-08-22 21:36:33 $
     11 *  @version $Revision: 1.72 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2006-08-22 21:53:49 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    515515    if (first) {
    516516        first = false;
    517         gethostname(hostname, 256);
     517        gethostname(hostname, MAX_HOSTNAME_LENGTH);
    518518    }
    519519
Note: See TracChangeset for help on using the changeset viewer.