diff options
Diffstat (limited to 'src/restore.c')
| -rw-r--r-- | src/restore.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/restore.c b/src/restore.c index 3474091..1b2ff78 100644 --- a/src/restore.c +++ b/src/restore.c | |||
| @@ -368,8 +368,13 @@ restored_error_t restored_client_new(idevice_t device, restored_client_t *client | |||
| 368 | 368 | ||
| 369 | restored_error_t ret = RESTORE_E_SUCCESS; | 369 | restored_error_t ret = RESTORE_E_SUCCESS; |
| 370 | 370 | ||
| 371 | static struct lockdownd_service_descriptor service = { | ||
| 372 | .port = 0xf27e, | ||
| 373 | .ssl_enabled = 0 | ||
| 374 | }; | ||
| 375 | |||
| 371 | property_list_service_client_t plistclient = NULL; | 376 | property_list_service_client_t plistclient = NULL; |
| 372 | if (property_list_service_client_new(device, 0xf27e, &plistclient) != PROPERTY_LIST_SERVICE_E_SUCCESS) { | 377 | if (property_list_service_client_new(device, (lockdownd_service_descriptor_t)&service, &plistclient) != PROPERTY_LIST_SERVICE_E_SUCCESS) { |
| 373 | debug_info("could not connect to restored (device %s)", device->udid); | 378 | debug_info("could not connect to restored (device %s)", device->udid); |
| 374 | return RESTORE_E_MUX_ERROR; | 379 | return RESTORE_E_MUX_ERROR; |
| 375 | } | 380 | } |
