mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Add SUPPRESS_PRINTF_FALLBACK
There are some cases (such as fuzzing with fe-fuzz) where suppressing printf output may be desirable.
This commit is contained in:
parent
6e36ddc6b7
commit
c8dafe2a76
1 changed files with 2 additions and 0 deletions
|
|
@ -446,7 +446,9 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text)
|
|||
|
||||
if (dest->window == NULL) {
|
||||
str = strip_codes(text);
|
||||
#ifndef SUPPRESS_PRINTF_FALLBACK
|
||||
printf("NO WINDOWS: %s\n", str);
|
||||
#endif
|
||||
g_free(str);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue