summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-03-26 06:09:04 +0000
committerAndrew Tridgell <tridge@samba.org>1998-03-26 06:09:04 +0000
commita070c37b7e880ac3593c35da448fe7303e797004 (patch)
tree5f744702de3e2e470e741ebfb6f882189a604673
parent17faa41c7d484a88ceead75174f7878c09dedce1 (diff)
downloadrsync-a070c37b7e880ac3593c35da448fe7303e797004.tar.gz
rsync-a070c37b7e880ac3593c35da448fe7303e797004.tar.bz2
rsync-a070c37b7e880ac3593c35da448fe7303e797004.zip
fixed a bug I introduced in the last big commit
-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;
}