Changeset 480
- Timestamp:
- Apr 20, 2004, 1:48:25 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 added
- 2 edited
-
sys/psErrorCodes.h (added)
-
sys/psLogMsg.c (modified) (3 diffs)
-
sysUtils/psErrorCodes.h (added)
-
sysUtils/psLogMsg.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psLogMsg.c
r479 r480 11 11 /* #include "psLib.h" */ 12 12 #include "psLogMsg.h" 13 #include "psError.h" 14 #include "psErrorCodes.h" 15 #include "psTrace.h" 13 16 14 17 #define MIN_LOG_LEVEL 0 … … 125 128 break; 126 129 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); 129 133 break; 130 134 } … … 169 173 static int first = 1; 170 174 static char hostname[HOST_NAME_MAX + 1]; 171 char clevel ; // letter-name for level175 char clevel=0; // letter-name for level 172 176 char head[HOST_NAME_MAX + 40]; // yes, this is long enough 173 177 char *head_ptr = head; // where we've got to in head -
trunk/psLib/src/sysUtils/psLogMsg.c
r479 r480 11 11 /* #include "psLib.h" */ 12 12 #include "psLogMsg.h" 13 #include "psError.h" 14 #include "psErrorCodes.h" 15 #include "psTrace.h" 13 16 14 17 #define MIN_LOG_LEVEL 0 … … 125 128 break; 126 129 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); 129 133 break; 130 134 } … … 169 173 static int first = 1; 170 174 static char hostname[HOST_NAME_MAX + 1]; 171 char clevel ; // letter-name for level175 char clevel=0; // letter-name for level 172 176 char head[HOST_NAME_MAX + 40]; // yes, this is long enough 173 177 char *head_ptr = head; // where we've got to in head
Note:
See TracChangeset
for help on using the changeset viewer.
