Changeset 39926 for trunk/Ohana/src/libfits/header/F_H_field.c
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to
/branches/czw_branch/20160809 merged eligible
-
Property svn:mergeinfo
set to
-
trunk/Ohana
-
trunk/Ohana/src/libfits/header/F_H_field.c
r38986 r39926 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.
