aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-03 11:04:48 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-03 11:04:48 +0200
commit5ebe68d8f1b6c290083dab6feff6f2fded5ac790 (patch)
tree73b141ac202da21b447de551fbb8c336c4ca5f63 /client
parentaca4c7549b2dc8d69931dca7c679c267b146ec48 (diff)
AAAAAAAAAAAAAAA
Diffstat (limited to 'client')
-rw-r--r--client/sock.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/sock.cpp b/client/sock.cpp
index 95a3685..3490586 100644
--- a/client/sock.cpp
+++ b/client/sock.cpp
@@ -79,6 +79,8 @@ void PBSocket::sock_task() {
char buf[80];
ssize_t bytes = read(_fd, buf, sizeof(buf));
+ rl_printf("%.*s", bytes, buf);
+ continue;
if (bytes == -1) {
rl_printf("error: %s (%d)\n", strerror(errno), errno);
break;