IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 22, 2007, 8:07:18 AM (19 years ago)
Author:
magnier
Message:

changed config recipes rules: master recipe file must exist

File:
1 edited

Legend:

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

    r12504 r12544  
    44 *  @author EAM (IfA)
    55 *
    6  *  @version $Revision: 1.79 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2007-03-20 01:30:45 $
     6 *  @version $Revision: 1.80 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2007-03-22 18:07:18 $
    88 *
    99 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    829829            }
    830830        } // Done looking at all cameras
    831         psFree(camerasIter);
     831        psFree(camerasIter);
    832832
    833833        if (! config->camera) {
     
    837837
    838838        // Now we have the camera, we can read the recipes
    839         pmConfigReadRecipes(config, PM_RECIPE_SOURCE_CAMERA | PM_RECIPE_SOURCE_CL);
     839        if (!pmConfigReadRecipes(config, PM_RECIPE_SOURCE_CAMERA | PM_RECIPE_SOURCE_CL)) {
     840            psError(PS_ERR_IO, false, "Error reading recipes from camera config for %s", config->cameraName);
     841            return NULL;
     842        }
    840843        return psMemIncrRefCounter(format);
    841844    }
Note: See TracChangeset for help on using the changeset viewer.