Changeset 3314
- Timestamp:
- Feb 23, 2005, 3:17:05 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/imregister/src/cameraconfig.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/imregister/src/cameraconfig.c
r2803 r3314 1 1 # include "imregister.h" 2 static char *version = "cameraconfig $Revision: 1. 2$";2 static char *version = "cameraconfig $Revision: 1.3 $"; 3 3 4 4 void usage (); … … 165 165 166 166 GetID = FALSE; 167 IDsel = 0;167 Nsel = 0; 168 168 if ((N = get_argument (argc, argv, "-ID"))) { 169 169 GetID = TRUE; 170 170 remove_argument (N, &argc, argv); 171 IDsel = strcreate(argv[N]);171 Nsel = atoi (argv[N]); 172 172 remove_argument (N, &argc, argv); 173 173 } 174 174 175 175 GetN = FALSE; 176 Nsel = 0;176 IDsel = NULL; 177 177 if ((N = get_argument (argc, argv, "-N"))) { 178 178 GetN = TRUE; 179 179 remove_argument (N, &argc, argv); 180 Nsel = atoi(argv[N]);180 IDsel = strcreate (argv[N]); 181 181 remove_argument (N, &argc, argv); 182 182 } … … 213 213 ID, &x, &y, &dx, &dy, datasec, biassec, &Xo, &Yo, &theta); 214 214 215 if (GetN && (Nsel == i)) fprintf (stdout, "%d\n", i);216 if (GetID && strnumcmp (IDsel, ID)) fprintf (stdout, "%s\n", ID);215 if (GetN && strnumcmp (IDsel, ID)) fprintf (stdout, "%d\n", i); 216 if (GetID && (Nsel == i)) fprintf (stdout, "%s\n", ID); 217 217 if (SEQ) fprintf (stdout, "%d ", i); 218 218 if (CCDS) fprintf (stdout, "%s ", ID);
Note:
See TracChangeset
for help on using the changeset viewer.
