Changeset 13207 for trunk/psModules/src/config/pmConfig.c
- Timestamp:
- May 3, 2007, 2:46:42 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/config/pmConfig.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/config/pmConfig.c
r13101 r13207 4 4 * @author EAM (IfA) 5 5 * 6 * @version $Revision: 1.9 1$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-05-0 1 03:53:11$6 * @version $Revision: 1.92 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-05-04 00:46:42 $ 8 8 * 9 9 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 17 17 #include <stdio.h> 18 18 #include <string.h> 19 #include <strings.h> /* for strn?casecmp */19 #include <strings.h> /* for strn?casecmp */ 20 20 #include <unistd.h> 21 21 #include <libgen.h> … … 246 246 } 247 247 if (item->type != PS_DATA_STRING) { 248 psTrace("config", 2, "Element %s in %s metadata is not of type STR.\n",249 item->name, description);250 continue;248 psTrace("config", 2, "Element %s in %s metadata is not of type STR.\n", 249 item->name, description); 250 continue; 251 251 } 252 252 … … 254 254 psMetadata *new = NULL; // New metadata 255 255 if (!pmConfigFileRead(&new, item->data.str, item->name)) { 256 psError(PM_ERR_CONFIG, false, "Trouble reading reading %s %s --- "257 "ignored.\n", description, item->name);256 psError(PM_ERR_CONFIG, false, "Trouble reading reading %s %s --- " 257 "ignored.\n", description, item->name); 258 258 psFree(new); 259 psFree(iter);260 return false;259 psFree(iter); 260 return false; 261 261 } 262 262 … … 518 518 psFree(config); 519 519 return NULL; 520 }521 520 } 521 522 522 psArgumentRemove(argNum, argc, argv); 523 523 … … 1216 1216 // convert nebfile into a psString 1217 1217 psString path = psStringCopy(nebfile); 1218 psFree(nebfile);1218 nebFree(nebfile); 1219 1219 nebServerFree(server); 1220 1220
Note:
See TracChangeset
for help on using the changeset viewer.
