diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/stdio/vfscanf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdio/vfscanf.c b/src/stdio/vfscanf.c index 64fa9754..61b0edb1 100644 --- a/src/stdio/vfscanf.c +++ b/src/stdio/vfscanf.c @@ -103,6 +103,7 @@ int vfscanf(FILE *f, const char *fmt, va_list ap) } if (*p != '%' || p[1] == '%') { p += *p=='%'; + shlim(f, 0); c = shgetc(f); if (c!=*p) { shunget(f); |