mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05: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
@ -446,7 +446,9 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text)
|
|||||||
|
|
||||||
if (dest->window == NULL) {
|
if (dest->window == NULL) {
|
||||||
str = strip_codes(text);
|
str = strip_codes(text);
|
||||||
|
#ifndef SUPPRESS_PRINTF_FALLBACK
|
||||||
printf("NO WINDOWS: %s\n", str);
|
printf("NO WINDOWS: %s\n", str);
|
||||||
|
#endif
|
||||||
g_free(str);
|
g_free(str);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user