summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-12-07 20:06:50 +0100
committerGravatar Martin Szulecki2012-12-07 20:06:50 +0100
commita480fe40cfa811af606085d7afbdd1a7ef8040a5 (patch)
treef066f93762a11eb352929ac5bd99cbddb2322bb6
parentded478691ff9a14e1f631c8baa3609f7c7c0aae7 (diff)
downloadidevicerestore-a480fe40cfa811af606085d7afbdd1a7ef8040a5.tar.gz
idevicerestore-a480fe40cfa811af606085d7afbdd1a7ef8040a5.tar.bz2
dfu: Fix codepath after uploading iBSS due to typo
-rw-r--r--src/dfu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dfu.c b/src/dfu.c
index d83dd90..a9927cb 100644
--- a/src/dfu.c
+++ b/src/dfu.c
@@ -185,7 +185,7 @@ int dfu_send_component(struct idevicerestore_client_t* client, plist_t build_ide
// FIXME: Did I do this right????
err = irecv_send_buffer(client->dfu->client, data, size, flag);
free(path);
- if (error != IRECV_E_SUCCESS) {
+ if (err != IRECV_E_SUCCESS) {
error("ERROR: Unable to send %s component: %s\n", component, irecv_strerror(err));
free(data);
return -1;