diff options
Diffstat (limited to 'src/property_list_service.c')
| -rw-r--r-- | src/property_list_service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/property_list_service.c b/src/property_list_service.c index 025a9bc..941f37e 100644 --- a/src/property_list_service.c +++ b/src/property_list_service.c | |||
| @@ -68,7 +68,7 @@ static property_list_service_error_t service_to_property_list_service_error(serv | |||
| 68 | */ | 68 | */ |
| 69 | property_list_service_error_t property_list_service_client_new(idevice_t device, lockdownd_service_descriptor_t service, property_list_service_client_t *client) | 69 | property_list_service_error_t property_list_service_client_new(idevice_t device, lockdownd_service_descriptor_t service, property_list_service_client_t *client) |
| 70 | { | 70 | { |
| 71 | if (!device || (service->port == 0) || !client || *client) | 71 | if (!device || !service || service->port == 0 || !client || *client) |
| 72 | return PROPERTY_LIST_SERVICE_E_INVALID_ARG; | 72 | return PROPERTY_LIST_SERVICE_E_INVALID_ARG; |
| 73 | 73 | ||
| 74 | service_client_t parent = NULL; | 74 | service_client_t parent = NULL; |
