# | Line 117 | Line 117 | cm_getheader(int *dt, int *nr, int *nc, FILE *fp) | |
---|---|---|
117 | cmi.dtype = DTfromHeader; | |
118 | cmi.nrows = cmi.ncols = 0; | |
119 | cmi.err = "unexpected EOF in header"; | |
120 | < | if (getheader(fp, &get_cminfo, &cmi) < 0) |
120 | > | if (getheader(fp, get_cminfo, &cmi) < 0) |
121 | return(cmi.err); | |
122 | if (dt != NULL) { /* get/check data type? */ | |
123 | if (cmi.dtype == DTfromHeader) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |