summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/io.c b/io.c
index b5ceff12..a557a9b8 100644
--- a/io.c
+++ b/io.c
@@ -134,6 +134,7 @@ static int readfd(int fd,char *buffer,int N)
memcpy(buffer+total,read_buffer_p,ret);
read_buffer_p += ret;
read_buffer_len -= ret;
+ total += ret;
continue;
}