summaryrefslogtreecommitdiffstats
path: root/src/recovery.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/recovery.c
parentc344e1c8b4996e9bf4c4e5589931a436acc9d388 (diff)
downloadidevicerestore-f61d7a2fcc388e74a0a01c08ef5abd31c456e54a.tar.gz
idevicerestore-f61d7a2fcc388e74a0a01c08ef5abd31c456e54a.tar.bz2
ipsw_get_component_by_path: add 'component' parameter
Diffstat (limited to 'src/recovery.c')
-rw-r--r--src/recovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/recovery.c b/src/recovery.c
index 624279d..e2e07b7 100644
--- a/src/recovery.c
+++ b/src/recovery.c
@@ -215,7 +215,7 @@ int recovery_send_component(struct idevicerestore_client_t* client, plist_t buil
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;