From 0de8ed662321f25ab78cef094774593e1ce27677 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Fri, 8 Aug 2025 22:38:51 +0100 Subject: Notify STDOUT if a STDIN wasn't processed and was sent to the server instead. --- blabouncer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'blabouncer.c') diff --git a/blabouncer.c b/blabouncer.c index 64b6f36..1c61336 100644 --- a/blabouncer.c +++ b/blabouncer.c @@ -806,6 +806,7 @@ void dochat(int *serversockfd, int *clientsockfd, struct settings *settings) { } debugprint(DEBUG_FULL, "dochat(): stdin: '%s' not processed as a command, sending to server.\n", outgoingmsg); + printf("'%s' not processed as a command, sending to server.\n", outgoingmsg); // sourcefd = 0 as this is a trusted message sendtoserver(server_ssl, outgoingmsg, strlen(outgoingmsg), 0, clients, settings); continue; -- cgit v1.2.3