From f61d7a2fcc388e74a0a01c08ef5abd31c456e54a Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 2 Feb 2012 19:53:32 +0100 Subject: ipsw_get_component_by_path: add 'component' parameter --- src/dfu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dfu.c') 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; -- cgit v1.1-32-gdbae