summaryrefslogtreecommitdiff
path: root/blabouncer.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2025-08-08 22:38:51 +0100
committerLuke Bratch <luke@bratch.co.uk>2025-08-08 22:38:51 +0100
commit0de8ed662321f25ab78cef094774593e1ce27677 (patch)
tree561aef9a91d0bc4d0e6a92598623ca3fe72d9616 /blabouncer.c
parentcdc21500174966ecf2ca1eedb73eb5aa4d2f344c (diff)
Notify STDOUT if a STDIN wasn't processed and was sent to the server instead.
Diffstat (limited to 'blabouncer.c')
-rw-r--r--blabouncer.c1
1 files changed, 1 insertions, 0 deletions
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;