Changeset 2273 for trunk/psLib/src/sysUtils/psLogMsg.c
- Timestamp:
- Nov 3, 2004, 3:05:00 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sysUtils/psLogMsg.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psLogMsg.c
r2204 r2273 11 11 * @author George Gusciora, MHPCC 12 12 * 13 * @version $Revision: 1.3 4$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-1 0-27 00:57:31$13 * @version $Revision: 1.35 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-11-04 01:05:00 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 110 110 111 111 if (sscanf(dest, "%4s:%256s", protocol, location) < 2) { 112 psError Msg(PS_ERRORNAME_DOMAIN "psLogSetDestination", true, PS_ERR_LOCATION_INVALID,113 PS_ERRORTEXT_psLogMsg_DESTINATION_MALFORMED,114 dest);112 psError(PS_ERR_LOCATION_INVALID, true, 113 PS_ERRORTEXT_psLogMsg_DESTINATION_MALFORMED, 114 dest); 115 115 return false; 116 116 } … … 131 131 return true; 132 132 } 133 psError Msg(PS_ERRORNAME_DOMAIN "psLogSetDestination", true, PS_ERR_LOCATION_INVALID,134 PS_ERRORTEXT_psLogMsg_DEST_LOCATION_INVALID,135 location);133 psError(PS_ERR_LOCATION_INVALID, true, 134 PS_ERRORTEXT_psLogMsg_DEST_LOCATION_INVALID, 135 location); 136 136 return 1; 137 137 } else if (strcmp(protocol, "file") == 0) { … … 139 139 140 140 if (file == NULL) { 141 psError Msg(PS_ERRORNAME_DOMAIN "psLogSetDestination", true, PS_ERR_IO,142 PS_ERRORTEXT_psLogMsg_OPEN_FILE_FAILED,143 location);141 psError(PS_ERR_IO, true, 142 PS_ERRORTEXT_psLogMsg_OPEN_FILE_FAILED, 143 location); 144 144 return false; 145 145 } … … 151 151 } 152 152 153 psError Msg(PS_ERRORNAME_DOMAIN "psLogSetDestination", true, PS_ERR_LOCATION_INVALID,154 PS_ERRORTEXT_psLogMsg_UNSUPPORTED_PROTOCOL,155 protocol);153 psError(PS_ERR_LOCATION_INVALID, true, 154 PS_ERRORTEXT_psLogMsg_UNSUPPORTED_PROTOCOL, 155 protocol); 156 156 return false; 157 157 } … … 215 215 break; 216 216 default: 217 psError Msg(PS_ERRORNAME_DOMAIN "psLogSetFormat", true, PS_ERR_BAD_PARAMETER_VALUE,218 PS_ERRORTEXT_psLogMsg_UNKNOWN_KEY, *ptr);217 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 218 PS_ERRORTEXT_psLogMsg_UNKNOWN_KEY, *ptr); 219 219 break; 220 220 }
Note:
See TracChangeset
for help on using the changeset viewer.
