IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 24, 2008, 10:43:38 AM (18 years ago)
Author:
eugene
Message:

handle errors in dbCheckStack

File:
1 edited

Legend:

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

    r19579 r20819  
    120120  Nreturn = 2*Nfields; // we are returning fieldi_1, fieldi_2 for the selected fields
    121121
    122   dbCheckStack (stack1, Nstack1, DVO_TABLE_MEASURE, &fields, &Nfields);
    123   dbCheckStack (stack2, Nstack2, DVO_TABLE_MEASURE, &fields, &Nfields);
     122  if (!dbCheckStack (stack1, Nstack1, DVO_TABLE_MEASURE, &fields, &Nfields)) goto escape;
     123  if (!dbCheckStack (stack2, Nstack2, DVO_TABLE_MEASURE, &fields, &Nfields)) goto escape;
    124124  // XXX handle errors
    125125
Note: See TracChangeset for help on using the changeset viewer.