summaryrefslogtreecommitdiffstats
path: root/src/ipsw.c
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-06-08 04:14:29 -0400
committerGravatar Joshua Hill2010-06-08 04:14:29 -0400
commit51b56ba5bf01af40835a43ad1104a7eff3160127 (patch)
tree0a7749bb4ffa8b67f3728d13f4881fbbc7c7313c /src/ipsw.c
parent5346ce8f7cefe7b33dd8abc44e27cb0e0816f78b (diff)
downloadidevicerestore-51b56ba5bf01af40835a43ad1104a7eff3160127.tar.gz
idevicerestore-51b56ba5bf01af40835a43ad1104a7eff3160127.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