Index: /branches/eam_branches/largefiles.20100314/Ohana/src/addstar/src/ReadImageHeader.c
===================================================================
--- /branches/eam_branches/largefiles.20100314/Ohana/src/addstar/src/ReadImageHeader.c	(revision 27337)
+++ /branches/eam_branches/largefiles.20100314/Ohana/src/addstar/src/ReadImageHeader.c	(revision 27338)
@@ -181,12 +181,13 @@
     // RULE: ccdnum is the value of the first string of digits in CCDNumKeyword
     // For example: ccdnum(XY42.hdr) = 42, ccdnum(XY01.hdr) = 1
+    // if no digits occur, then we assume there is only one ccd
     char *p = ccdnum;
     // get rid of any leading non-digit characters
     while (*p && !isdigit(*p)) p++;
-    if (*p == 0) {
-      fprintf (stderr, "invalid ccdnum %s\n", ccdnum);
-      return FALSE;
-    }
-    image[0].ccdnum = atoi(p);
+    if (*p) {
+      image[0].ccdnum = atoi(p);
+    } else {
+      image[0].ccdnum = 0;
+    }
   }
 
