mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Make sure to reset tainted state
This commit is contained in:
parent
232cbee697
commit
4113a072c2
1 changed files with 2 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ extern char ansi_format[];
|
|||
fprintf (stdout, "\r[%s] Warning: " format "\r\n", timestamp_current_time(), ## args); \
|
||||
else \
|
||||
ansi_printf("[%s] Warning: " format, timestamp_current_time(), ## args); \
|
||||
print_tainted = false; \
|
||||
} \
|
||||
}
|
||||
|
||||
|
|
@ -90,6 +91,7 @@ extern char ansi_format[];
|
|||
fprintf (stdout, "\r[%s] Error: " format "\r\n", timestamp_current_time(), ## args); \
|
||||
else \
|
||||
ansi_printf("[%s] Error: " format, timestamp_current_time(), ## args); \
|
||||
print_tainted = false; \
|
||||
} \
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue