summaryrefslogtreecommitdiffstats
path: root/src/sbmanager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbmanager.c')
-rw-r--r--src/sbmanager.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/sbmanager.c b/src/sbmanager.c
index f00b95a..87d0b30 100644
--- a/src/sbmanager.c
+++ b/src/sbmanager.c
@@ -976,12 +976,13 @@ static gboolean get_device_info(SBManagerApp *app)
lockdownd_get_value(client, NULL, "ProductType", &node);
if (node) {
char *devtype = NULL;
- const char *devtypes[6][2] = { {"iPhone1,1", "iPhone"}, {"iPhone1,2", "iPhone 3G"},
- {"iPhone2,1",
- "iPhone 3GS"},
- {"iPod1,1", "iPod Touch"}, {"iPod2,1", "iPod touch (2G)"},
- {"iPod3,1",
- "iPod Touch (3G)"}
+ const char *devtypes[6][2] = {
+ {"iPhone1,1", "iPhone"},
+ {"iPhone1,2", "iPhone 3G"},
+ {"iPhone2,1", "iPhone 3GS"},
+ {"iPod1,1", "iPod Touch"},
+ {"iPod2,1", "iPod touch (2G)"},
+ {"iPod3,1", "iPod Touch (3G)"}
};
plist_get_string_val(node, &devtype);
if (devtype) {