IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 7, 2007, 1:58:17 PM (19 years ago)
Author:
jhoblitt
Message:

update psAbort() API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfigRecipes.c

    r11676 r11687  
    126126    if (optionsItem) {
    127127        if (optionsItem->type != PS_DATA_METADATA) {
    128             psAbort(__func__, "OPTIONS is not of type METADATA.");
     128            psAbort("OPTIONS is not of type METADATA.");
    129129        }
    130130        options = psMemIncrRefCounter(optionsItem->data.V);
     
    220220    if (recipesItem) {
    221221        if (recipesItem->type != PS_DATA_METADATA) {
    222             psAbort(__func__, "RECIPES is not of type METADATA.");
     222            psAbort("RECIPES is not of type METADATA.");
    223223        }
    224224        recipes = psMemIncrRefCounter(recipesItem->data.V);
     
    256256                psFree(recipe);                 // Drop reference
    257257            } else {
    258                 psAbort ("pmConfig.c", "error reading config file %s\n", recipeSource);
     258                psAbort("error reading config file %s\n", recipeSource);
    259259            }
    260260        } else {
     
    284284    assert(config);
    285285    if ((sourceType != PM_RECIPE_SOURCE_SITE) && (sourceType != PM_RECIPE_SOURCE_CAMERA)) {
    286         psAbort ("pmConfig", "invalid source for loadRecipes");
     286        psAbort("invalid source for loadRecipes");
    287287    }
    288288    if (!source) {
     
    308308        // type mismatch is a serious error
    309309        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);
    311311        }
    312312
     
    323323        if (currentItem) {
    324324            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.");
    326326            }
    327327            current = psMemIncrRefCounter(currentItem->data.V);
     
    364364        // type mismatch is a serious error
    365365        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);
    367367        }
    368368        // increment the ref counter to protect the data
     
    470470        // type mismatch is a serious error
    471471        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);
    473473        }
    474474        // increment the ref counter to protect the data
Note: See TracChangeset for help on using the changeset viewer.