diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-19 10:40:55 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-19 10:40:55 +0200 |
commit | a50bbbfaf78ebaad9106e32208bd41cdc84843cb (patch) | |
tree | 3769bc17692c46f1da00aa45dbf93112f0ca745a /client | |
parent | cc9b3beb1e82449e34dc3d7052395607fe12b47f (diff) | |
parent | ae5dd8e93411e01b087a840d33b0c970cac4a523 (diff) |
merge `master` into `wip/pbdrv`
Diffstat (limited to 'client')
-rw-r--r-- | client/sock.cpp | 2 |
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; |