(read_part) fix typo: pass correct length to zip_read()

--HG--
branch : HEAD
diff --git a/lib/zip_replace_zip.c b/lib/zip_replace_zip.c
index e630c49..63ccd83 100644
--- a/lib/zip_replace_zip.c
+++ b/lib/zip_replace_zip.c
@@ -148,7 +148,7 @@
 
 	for (n=0; n<z->off; n+= i) {
 	    i = (z->off-n > 8192 ? 8192 : z->off-n);
-	    if ((i=zip_fread(z->zff, b, n)) < 0) {
+	    if ((i=zip_fread(z->zff, b, i)) < 0) {
 		zip_fclose(z->zff);
 		z->zff = NULL;
 		return -1;