Changeset 25707
- Timestamp:
- Oct 1, 2009, 8:12:05 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/getstar/src/dvoImagesAtCoords.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/getstar/src/dvoImagesAtCoords.c
r25208 r25707 1 1 # include "dvoImagesAtCoords.h" 2 3 // We'd like to do this but since pstamp gets built later this won't work 4 // so just redefine the macro 5 // # include "pstamp.h" 6 #define PSTAMP_NO_OVERLAP 28 2 7 3 8 static int readPoints(char *filename, Point **pointsOut); … … 19 24 Npoints = readPoints(argv[1], &points); 20 25 if (!Npoints) { 21 exit( 0);26 exit(1); 22 27 } 23 28 … … 49 54 if (MatchCoords (dbImages, NdbImages, points, Npoints)) { 50 55 ListImagesAtCoords(dbImages, points, Npoints); 56 exit(0); 57 } else { 58 exit(PSTAMP_NO_OVERLAP); 51 59 } 52 // XXX: should we exit with nonzero status if no matches were found?53 exit (0);54 60 } 55 61
Note:
See TracChangeset
for help on using the changeset viewer.
