IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 480


Ignore:
Timestamp:
Apr 20, 2004, 1:48:25 PM (22 years ago)
Author:
gusciora
Message:

...

Location:
trunk/psLib/src
Files:
2 added
2 edited

Legend:

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

    r479 r480  
    1111/* #include "psLib.h" */
    1212#include "psLogMsg.h"
     13#include "psError.h"
     14#include "psErrorCodes.h"
     15#include "psTrace.h"
    1316
    1417#define MIN_LOG_LEVEL 0
     
    125128            break;
    126129        default:
    127             psError(__func__, PS_ERR_UNKNOWN, 1,
    128                     "Unknown logging keyword %c", *ptr);
     130            // GUS: figure out the psError() format:
     131            //     psError(__func__, PS_ERR_UNKNOWN, 1,
     132            //                   "Unknown logging keyword %c", *ptr);
    129133            break;
    130134        }
     
    169173    static int first = 1;
    170174    static char hostname[HOST_NAME_MAX + 1];
    171     char clevel;   // letter-name for level
     175    char clevel=0;   // letter-name for level
    172176    char head[HOST_NAME_MAX + 40]; // yes, this is long enough
    173177    char *head_ptr = head;  // where we've got to in head
  • trunk/psLib/src/sysUtils/psLogMsg.c

    r479 r480  
    1111/* #include "psLib.h" */
    1212#include "psLogMsg.h"
     13#include "psError.h"
     14#include "psErrorCodes.h"
     15#include "psTrace.h"
    1316
    1417#define MIN_LOG_LEVEL 0
     
    125128            break;
    126129        default:
    127             psError(__func__, PS_ERR_UNKNOWN, 1,
    128                     "Unknown logging keyword %c", *ptr);
     130            // GUS: figure out the psError() format:
     131            //     psError(__func__, PS_ERR_UNKNOWN, 1,
     132            //                   "Unknown logging keyword %c", *ptr);
    129133            break;
    130134        }
     
    169173    static int first = 1;
    170174    static char hostname[HOST_NAME_MAX + 1];
    171     char clevel;   // letter-name for level
     175    char clevel=0;   // letter-name for level
    172176    char head[HOST_NAME_MAX + 40]; // yes, this is long enough
    173177    char *head_ptr = head;  // where we've got to in head
Note: See TracChangeset for help on using the changeset viewer.