1
0
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:
Joseph Bisch 2017-01-16 12:56:33 -05:00
parent 6e36ddc6b7
commit c8dafe2a76
No known key found for this signature in database
GPG Key ID: CF08FAC339AB7E8E

View File

@ -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;
} }