IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13325


Ignore:
Timestamp:
May 9, 2007, 6:31:16 PM (19 years ago)
Author:
eugene
Message:

error handling for AverageToFtable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libdvo/src/dvo_catalog_split.c

    r12391 r13325  
    358358
    359359    /* write out Average table (convert to FITS table format) */
    360     AverageToFtable (&ftable, catalog[0].average, catalog[0].Naverage, catalog[0].catformat, primary);
     360    if (!AverageToFtable (&ftable, catalog[0].average, catalog[0].Naverage, catalog[0].catformat, primary)) {
     361        fprintf (stderr, "trouble converting format\n");
     362        goto failure;
     363    }
    361364    if (!gfits_fwrite_Theader (catalog[0].f, &header)) {
    362365      fprintf (stderr, "can't write table header");
Note: See TracChangeset for help on using the changeset viewer.