Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ios-deploy/MobileDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ mach_error_t AMDeviceStartSession(struct am_device *device);
*/

mach_error_t AMDeviceStartService(struct am_device *device, CFStringRef
service_name, ServiceConnRef handle, unsigned int *
service_name, ServiceConnRef * handle, unsigned int *
unknown);

mach_error_t AMDeviceStartHouseArrestService(struct am_device *device, CFStringRef identifier, void *unknown, ServiceConnRef handle, unsigned int *what);
Expand All @@ -290,7 +290,7 @@ mach_error_t AMDeviceStopSession(struct am_device *device);
* MDERR_AFC_OUT_OF_MEMORY if malloc() failed
*/

afc_error_t AFCConnectionOpen(service_conn_t handle, unsigned int io_timeout,
afc_error_t AFCConnectionOpen(ServiceConnRef handle, unsigned int io_timeout,
AFCConnectionRef *conn);

/* Pass in a pointer to an afc_device_info structure. It will be filled. */
Expand Down
2 changes: 1 addition & 1 deletion src/ios-deploy/ios-deploy.m
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ AFCConnectionRef start_afc_service(AMDeviceRef device) {
check_error(AMDeviceStartSession(device));

AFCConnectionRef conn = NULL;
service_conn_t serviceConn;
ServiceConnRef serviceConn = NULL;

if (AMDeviceStartService(device, AMSVC_AFC, &serviceConn, 0) != MDERR_OK) {
on_error(@"Unable to start file service!");
Expand Down