fixed a bug I introduced in the last big commit
authorAndrew Tridgell <tridge@samba.org>
Thu, 26 Mar 1998 06:09:04 +0000 (06:09 +0000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 26 Mar 1998 06:09:04 +0000 (06:09 +0000)
io.c

diff --git a/io.c b/io.c
index b5ceff1..a557a9b 100644 (file)
--- 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;
                }