Changeset 39807
- Timestamp:
- Nov 12, 2016, 8:25:19 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20160809/Ohana/src/libfits/header/F_H_field.c
r38986 r39807 90 90 ptr = buf + 9; // start of following keyword 91 91 if (strncmp (field, ptr, Nfield)) continue; 92 if (ptr[Nfield + 1] != '=') continue; // the strncmp above will match a longer string which matches the subset of field (e.g., FOO will match FOOBAR and FOO). test for the following '=' sign 92 93 Nfound ++; 93 94 if (Nfound == N) return (ptr);
Note:
See TracChangeset
for help on using the changeset viewer.
