summaryrefslogtreecommitdiffstats
path: root/src/dfu.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-02-02 19:53:32 +0100
committerGravatar Nikias Bassen2012-02-02 19:53:32 +0100
commitf61d7a2fcc388e74a0a01c08ef5abd31c456e54a (patch)
treee7be8255793380113fea07950291312ca0aa4cd1 /src/dfu.c
parentc344e1c8b4996e9bf4c4e5589931a436acc9d388 (diff)
downloadidevicerestore-f61d7a2fcc388e74a0a01c08ef5abd31c456e54a.tar.gz
idevicerestore-f61d7a2fcc388e74a0a01c08ef5abd31c456e54a.tar.bz2
ipsw_get_component_by_path: add 'component' parameter
Diffstat (limited to 'src/dfu.c')
-rw-r--r--src/dfu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dfu.c b/src/dfu.c
index efe0a40..b044fa6 100644
--- a/src/dfu.c
+++ b/src/dfu.c
@@ -128,7 +128,7 @@ int dfu_send_component(struct idevicerestore_client_t* client, plist_t build_ide
if (client->tss)
info("%s will be signed\n", component);
- if (ipsw_get_component_by_path(client->ipsw, client->tss, path, &data, &size) < 0) {
+ if (ipsw_get_component_by_path(client->ipsw, client->tss, component, path, &data, &size) < 0) {
error("ERROR: Unable to get component: %s\n", component);
free(path);
return -1;