IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 30, 2008, 5:19:49 PM (18 years ago)
Author:
Paul Price
Message:

Finally finished and tested code to get concepts from the database.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConcepts.c

    r17867 r17874  
    12261226        replace[0] = '{'; \
    12271227        strcpy(replace + 1, concept); \
    1228         strcpy(replace + length + 1, "}"); \
     1228        strcpy(replace + length, "}"); \
    12291229        \
    12301230        psTrace("psModules.concepts", 10, "Interpolating concept %s for %s", replace, value); \
     
    12591259        char concept[length];  // Name of concept
    12601260        strncpy(concept, start + 1, length - 1);
    1261         concept[length] = '\0';
     1261        concept[length - 1] = '\0';
    12621262
    12631263        psTrace("psModules.concepts", 7, "Interpolating concept %s", concept);
Note: See TracChangeset for help on using the changeset viewer.