Skip to content

Commit

Permalink
Make limit in condition up to 1000
Browse files Browse the repository at this point in the history
  • Loading branch information
sminux committed May 5, 2024
1 parent 7e91e72 commit 51c0f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ unget_char(int ch, FILE *file)
*/
file_buffer *buffer = (file_buffer *) file;

if (buffer->unget_count >= 1024)
if (buffer->unget_count >= 1000)
{
perror("ungetc limit exceeded");
exit(ERROR_EXIT);
Expand Down

0 comments on commit 51c0f64

Please sign in to comment.