From ead23ad2b1bcfff151fd7f476fa32f949d509c6a Mon Sep 17 00:00:00 2001 From: Joshua Hill Date: Sat, 22 May 2010 14:53:05 -0400 Subject: Fixed stupid stupid stupid bug --- src/Makefile.am | 2 +- src/idevicerestore.c | 2 +- src/img3.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index c011729..540b262 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -18,6 +18,6 @@ AM_LDFLAGS =\ bin_PROGRAMS = idevicerestore -idevicerestore_SOURCES = idevicerestore.c ipsw.c tss.c img3.c +idevicerestore_SOURCES = idevicerestore.c img3.c ipsw.c tss.c idevicerestore_CFLAGS = $(AM_CFLAGS) idevicerestore_LDFLAGS = $(AM_LDFLAGS) \ No newline at end of file diff --git a/src/idevicerestore.c b/src/idevicerestore.c index 0719508..0b294b9 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -287,7 +287,7 @@ int main(int argc, char* argv[]) { if(recovery_error != IRECV_E_SUCCESS) { error("ERROR: Unable to send IMG3: %s\n", ibec_path); irecv_close(recovery); - image3_free(ibec_img3); + img3_free(ibec_img3); } irecv_close(recovery); diff --git a/src/img3.c b/src/img3.c index 8a536e5..4daa6b6 100644 --- a/src/img3.c +++ b/src/img3.c @@ -25,7 +25,7 @@ #include "img3.h" #include "idevicerestore.h" -img3_file* image3_parse_file(unsigned char* data, unsigned int size) { +img3_file* img3_parse_file(unsigned char* data, unsigned int size) { img3_header* header = (img3_header*) data; if(header->imageType != kImg3Container) { error("ERROR: Invalid IMG3 file\n"); @@ -34,7 +34,7 @@ img3_file* image3_parse_file(unsigned char* data, unsigned int size) { return NULL; } -void image3_free(img3_file* file) { +void img3_free(img3_file* file) { if(file != NULL) { free(file); } -- cgit v1.1-32-gdbae