IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 5, 2010, 3:47:36 PM (16 years ago)
Author:
eugene
Message:

pendatic checking fscan, system, and mkstemp return values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/imregister/imreg/imregclient.c

    r7080 r27611  
    2222      exit (1);
    2323    }
    24     fscanf (f, "%f %f", &image[0].sky, &image[0].bias);
     24    if (fscanf (f, "%f %f", &image[0].sky, &image[0].bias) != 2) {
     25      fprintf (stderr, "error reading stats\n");
     26    }
    2527    fclose (f);
    2628    image[0].fwhm = get_fwhm (datfile);
Note: See TracChangeset for help on using the changeset viewer.