IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 18, 2007, 8:46:45 AM (19 years ago)
Author:
eugene
Message:

return NULL if field is not founddvo/dbFields.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/dbFields.c

    r14191 r14287  
    77  if (fields == NULL) return;
    88
    9   for (i = 0; i <= Nfields; i++) {
     9  for (i = 0; i < Nfields; i++) {
    1010    if (fields[i].name != NULL) free (fields[i].name);
    1111    if (fields[i].photcode != NULL) {
     
    6868  }
    6969  code = GetPhotcodebyName (tmpstring);
     70  if (!code) {
     71      return NULL;
     72  }
     73
    7074
    7175  // enforce compatibility
Note: See TracChangeset for help on using the changeset viewer.