summaryrefslogtreecommitdiffstats
path: root/src/ipsw.c
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-06-08 16:14:29 +0800
committerGravatar rcg4u2010-06-09 17:17:29 +0800
commit02773da6a2daa0d00780cac4707917360b81b6c9 (patch)
tree0a7749bb4ffa8b67f3728d13f4881fbbc7c7313c /src/ipsw.c
parent7d6207c33c44648cf9056ddd31ce51ac834563ab (diff)
downloadidevicerestore-02773da6a2daa0d00780cac4707917360b81b6c9.tar.gz
idevicerestore-02773da6a2daa0d00780cac4707917360b81b6c9.tar.bz2
Added a new asr.c file to stick all stuff related to filesystem and abstract the restore process to allow for easier porting
Diffstat (limited to 'src/ipsw.c')
-rw-r--r--src/ipsw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipsw.c b/src/ipsw.c
index 7ded33e..adbaea0 100644
--- a/src/ipsw.c
+++ b/src/ipsw.c
@@ -98,7 +98,7 @@ int ipsw_extract_to_file(const char* ipsw, const char* infile, const char* outfi
int bytes = 0;
int count = 0;
double progress = 0;
- for (i = zstat.size; i > 0; i -= count) {
+ for(i = zstat.size; i > 0; i -= count) {
if (i < BUFSIZE)
size = i;
else