IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26359


Ignore:
Timestamp:
Dec 8, 2009, 5:56:52 AM (16 years ago)
Author:
Paul Price
Message:

Fix compilation error from ignoring return value of fgets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometryObjects.c

    r26260 r26359  
    843843            psFitsClose (fits);
    844844            fprintf (stderr, "wrote grid image, press return to continue\n");
    845             fgets (line, 15, stdin);
     845            if (!fgets(line, 15, stdin)) {
     846                fprintf(stderr, "Something went wrong; continuing.");
     847            }
    846848        }
    847849
Note: See TracChangeset for help on using the changeset viewer.