IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 26, 2012, 11:46:01 AM (14 years ago)
Author:
eugene
Message:

updates for pedantic gcc, mods to relphot average mags to handle GPC1 stacks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/list_header.c

    r27435 r34088  
    4141    strcpy (buf[0].file, "*");
    4242    strcat (buf[0].file, filename);
     43
    4344    status = gfits_read_header (argv[2], &buf[0].header);
     45    if (!status) {
     46      gprint (GP_ERR, "failed to read header for %s\n", argv[2]);
     47      return FALSE;
     48    }
    4449    buf[0].header.bitpix = bitpix;     
    4550    buf[0].header.bzero  = bzero;     
Note: See TracChangeset for help on using the changeset viewer.