Changeset 11687 for trunk/psModules/src/config/pmConfigRecipes.c
- Timestamp:
- Feb 7, 2007, 1:58:17 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/config/pmConfigRecipes.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/config/pmConfigRecipes.c
r11676 r11687 126 126 if (optionsItem) { 127 127 if (optionsItem->type != PS_DATA_METADATA) { 128 psAbort( __func__,"OPTIONS is not of type METADATA.");128 psAbort("OPTIONS is not of type METADATA."); 129 129 } 130 130 options = psMemIncrRefCounter(optionsItem->data.V); … … 220 220 if (recipesItem) { 221 221 if (recipesItem->type != PS_DATA_METADATA) { 222 psAbort( __func__,"RECIPES is not of type METADATA.");222 psAbort("RECIPES is not of type METADATA."); 223 223 } 224 224 recipes = psMemIncrRefCounter(recipesItem->data.V); … … 256 256 psFree(recipe); // Drop reference 257 257 } else { 258 psAbort ("pmConfig.c","error reading config file %s\n", recipeSource);258 psAbort("error reading config file %s\n", recipeSource); 259 259 } 260 260 } else { … … 284 284 assert(config); 285 285 if ((sourceType != PM_RECIPE_SOURCE_SITE) && (sourceType != PM_RECIPE_SOURCE_CAMERA)) { 286 psAbort ("pmConfig","invalid source for loadRecipes");286 psAbort("invalid source for loadRecipes"); 287 287 } 288 288 if (!source) { … … 308 308 // type mismatch is a serious error 309 309 if (fileItem->type != PS_DATA_STRING) { 310 psAbort ("pmConfig","%s in %s RECIPES is not of type STR", fileItem->name, sourceName);310 psAbort("%s in %s RECIPES is not of type STR", fileItem->name, sourceName); 311 311 } 312 312 … … 323 323 if (currentItem) { 324 324 if (currentItem->type != PS_DATA_METADATA) { 325 psAbort( __func__,"Item from recipes is not of type METADATA.");325 psAbort("Item from recipes is not of type METADATA."); 326 326 } 327 327 current = psMemIncrRefCounter(currentItem->data.V); … … 364 364 // type mismatch is a serious error 365 365 if (item->type != PS_DATA_METADATA) { 366 psAbort ("pmConfig","%s in config arguments RECIPES is not of type METADATA", item->name);366 psAbort("%s in config arguments RECIPES is not of type METADATA", item->name); 367 367 } 368 368 // increment the ref counter to protect the data … … 470 470 // type mismatch is a serious error 471 471 if (item->type != PS_DATA_METADATA) { 472 psAbort ("pmConfig","%s in config arguments OPTIONS is not of type METADATA", item->name);472 psAbort("%s in config arguments OPTIONS is not of type METADATA", item->name); 473 473 } 474 474 // increment the ref counter to protect the data
Note:
See TracChangeset
for help on using the changeset viewer.
