summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-07-17 15:45:19 +0200
committerGravatar Nikias Bassen2012-07-17 15:45:19 +0200
commit36dea88c7b496fa772a34e94d45e8eb6db00278c (patch)
tree967a25263fd5fffc6aebe68d9282356535cae814 /src/idevicerestore.c
parentfefa8515c620771d0c76fe41cabfef77c1b439bb (diff)
downloadidevicerestore-36dea88c7b496fa772a34e94d45e8eb6db00278c.tar.gz
idevicerestore-36dea88c7b496fa772a34e94d45e8eb6db00278c.tar.bz2
main: Add support for missing needservice component
Diffstat (limited to 'src/idevicerestore.c')
-rw-r--r--src/idevicerestore.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 3bf6265..3824f10 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -1452,6 +1452,8 @@ const char* get_component_name(const char* filename)
return "BatteryCharging1";
} else if (!strncmp(filename, "batteryfull", 11)) {
return "BatteryFull";
+ } else if (!strncmp(filename, "needservice", 11)) {
+ return "NeedService";
} else if (!strncmp(filename, "SCAB", 4)) {
return "SCAB";
} else {