IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 9, 2004, 3:55:34 PM (22 years ago)
Author:
desonia
Message:

more doxygen-related cleanup

File:
1 edited

Legend:

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

    r1441 r1448  
    1212 *  @author George Gusciora, MHPCC
    1313 *
    14  *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2004-08-09 23:40:55 $
     14 *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2004-08-10 01:55:34 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8989 An integer specifying the old log destination.
    9090 *****************************************************************************/
    91 int psLogSetDestination(const char *dest)
     91bool psLogSetDestination(const char *dest)
    9292{
    9393    char protocol[5];
     
    104104        }
    105105        logDest = NULL;
    106         return 0;
     106        return true;
    107107    }
    108108
    109109    if (sscanf(dest, "%4s:%256s", protocol, location) < 2) {
    110110        psError(__func__, "The specified destination, %s, is malformed.", dest);
    111         return 1;
     111        return false;
    112112    }
    113113
     
    118118            }
    119119            logDest = stderr;
    120             return 0;
     120            return true;
    121121        }
    122122        if (strcmp(location, "stdout") == 0) {
     
    125125            }
    126126            logDest = stdout;
    127             return 0;
     127            return true;
    128128        }
    129129        psError(__func__, "The location, %s, for protocol 'dest' is invalid.", location);
     
    134134        if (file == NULL) {
    135135            psError(__func__, "Could not open file '%s' for output.", location);
    136             return 1;
     136            return false;
    137137        }
    138138        if (logDest != NULL && logDest != stderr && logDest != stdout) {
     
    140140        }
    141141        logDest = file;
    142         return 0;
     142        return true;
    143143    }
    144144
    145145    psError(__func__, "Do not know how to handle the protocol '%s'.", protocol);
    146     return 1;
     146    return false;
    147147}
    148148
Note: See TracChangeset for help on using the changeset viewer.