aboutsummaryrefslogtreecommitdiff
path: root/client/sock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/sock.cpp')
-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;