Skip to content

Commit 462e68a

Browse files
FatmeDimitar Tachev
and
Dimitar Tachev
authored
Apply suggestions from code review
Co-Authored-By: Dimitar Tachev <[email protected]>
1 parent df52dfe commit 462e68a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

IOSDeviceLib/Declarations.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ extern "C"
267267
{
268268
CFSocketNativeHandle AMDServiceConnectionGetSocket(ServiceConnRef con);
269269
long AMDServiceConnectionReceive(ServiceConnRef, void *, long);
270-
void AMDServiceConnectionInvalidate(ServiceConnRef);
270+
void AMDServiceConnectionInvalidate(ServiceConnRef);
271271
long AMDServiceConnectionSendMessage(ServiceConnRef serviceConnection, CFDictionaryRef message, CFPropertyListFormat format);
272272
unsigned AMDeviceSecureStartService(AMDeviceRef device, CFStringRef service_name, unsigned int *unknown, ServiceConnRef * handle);
273273
unsigned AMDeviceNotificationSubscribe(void(*f)(const DevicePointer*), long, long, long, HANDLE*);

IOSDeviceLib/IOSDeviceLib.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ void get_application_infos(std::string device_identifier, std::string method_id)
10021002
std::vector<json> livesync_app_infos;
10031003
while (true)
10041004
{
1005-
std::map<std::string, boost::any> dict = receive_con_message(serviceInfo.connection, device_identifier, method_id, 0);
1005+
std::map<std::string, boost::any> dict = receive_con_message(serviceInfo.connection, device_identifier, method_id, 10);
10061006
PRINT_ERROR_AND_RETURN_IF_FAILED_RESULT(dict.count(kErrorKey), boost::any_cast<std::string>(dict[kErrorKey]).c_str(), device_identifier, method_id);
10071007
if (dict.empty() || (dict.count(kStatusKey) && has_complete_status(dict)))
10081008
{

0 commit comments

Comments
 (0)