summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-11-20 11:24:12 +0100
committerGravatar Nikias Bassen2013-11-20 11:24:12 +0100
commit89e446d5257653cde730d493b81f9fb85077223d (patch)
tree8a7afcfc69f6c44f76fc3f83eb65f643aebfc5bb /src
parentb97925506da666f1e75a1bdb80fee37414758ad1 (diff)
downloadidevicerestore-89e446d5257653cde730d493b81f9fb85077223d.tar.gz
idevicerestore-89e446d5257653cde730d493b81f9fb85077223d.tar.bz2
add sep-firmware -> RestoreSEP matching to get_component_name()
Diffstat (limited to 'src')
-rw-r--r--src/idevicerestore.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index c1c91ac..9ee8a8b 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -1718,6 +1718,8 @@ const char* get_component_name(const char* filename)
return "NeedService";
} else if (!strncmp(filename, "SCAB", 4)) {
return "SCAB";
+ } else if (!strncmp(filename, "sep-firmware", 12)) {
+ return "RestoreSEP";
} else {
error("WARNING: Unhandled component '%s'", filename);
return NULL;