IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8401


Ignore:
Timestamp:
Aug 16, 2006, 3:15:47 PM (20 years ago)
Author:
Paul Price
Message:

RECIPENAME clashed with other names when used as a library: renamed to PPSTATS_RECIPE

Location:
trunk/ppStats/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStats/src/ppStats.h

    r8346 r8401  
    22#define PP_STATS_H
    33
    4 #define RECIPENAME "PPSTATS"
     4#define PPSTATS_RECIPE "PPSTATS"
    55
    66#include <psmodules.h>
  • trunk/ppStats/src/ppStatsSetupFromRecipe.c

    r8347 r8401  
    6565    // Determine recipe parameters
    6666    bool mdok;                          // Status of MD lookup
    67     psMetadata *recipe = psMetadataLookupMD(&mdok, config->recipes, RECIPENAME);
     67    psMetadata *recipe = psMetadataLookupMD(&mdok, config->recipes, PPSTATS_RECIPE);
    6868    if (!mdok || !recipe) {
    69         psLogMsg(__func__, PS_LOG_WARN, "Unable to find recipe %s.\n", RECIPENAME);
     69        psLogMsg(__func__, PS_LOG_WARN, "Unable to find recipe %s.\n", PPSTATS_RECIPE);
    7070        return data;
    7171    }
Note: See TracChangeset for help on using the changeset viewer.