Skip to content

Commit

Permalink
Fixed eof checking (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
sauwming committed Nov 1, 2023
1 parent a2da534 commit 7d24609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pjlib-util/src/pjlib-util/scanner.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ PJ_DEF(void) pj_scan_get( pj_scanner *scanner,

do {
++s;
} while (pj_cis_match(spec, *s) && PJ_SCAN_CHECK_EOF(s));
} while (PJ_SCAN_CHECK_EOF(s) && pj_cis_match(spec, *s));

pj_strset3(out, scanner->curptr, s);

Expand Down

0 comments on commit 7d24609

Please sign in to comment.