commit
a750efa382
@ -16,7 +16,7 @@
|
|||||||
#include <netinet/tcp.h>
|
#include <netinet/tcp.h>
|
||||||
#include "MobileDevice.h"
|
#include "MobileDevice.h"
|
||||||
|
|
||||||
#define APP_VERSION "1.5.2"
|
#define APP_VERSION "1.5.3"
|
||||||
#define PREP_CMDS_PATH "/tmp/fruitstrap-lldb-prep-cmds-"
|
#define PREP_CMDS_PATH "/tmp/fruitstrap-lldb-prep-cmds-"
|
||||||
#define LLDB_SHELL "lldb -s " PREP_CMDS_PATH
|
#define LLDB_SHELL "lldb -s " PREP_CMDS_PATH
|
||||||
/*
|
/*
|
||||||
@ -1518,10 +1518,13 @@ void handle_device(AMDeviceRef device) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (device_id != NULL) {
|
if (device_id != NULL) {
|
||||||
if(strcmp(device_id, CFStringGetCStringPtr(found_device_id, CFStringGetSystemEncoding())) == 0) {
|
CFStringRef deviceCFSTR = CFStringCreateWithCString(NULL, device_id, kCFStringEncodingASCII);
|
||||||
|
if (CFStringCompare(deviceCFSTR, found_device_id, kCFCompareCaseInsensitive) == kCFCompareEqualTo) {
|
||||||
found_device = true;
|
found_device = true;
|
||||||
|
CFRelease(deviceCFSTR);
|
||||||
} else {
|
} else {
|
||||||
fprintCFSTR(stdout, CFSTR("Skipping %@.\n"), device_full_name);
|
fprintCFSTR(stdout, CFSTR("Skipping %@.\n"), device_full_name);
|
||||||
|
CFRelease(deviceCFSTR);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user