Skip to content

Commit 9138fe2

Browse files
authored
Remove commented out lines
1 parent f8cf01b commit 9138fe2

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

AltServer/Devices/ALTDeviceManager.mm

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,6 @@ - (NSString *)getPairingPlistString:(NSString*)udid{
395395
uint32_t length;
396396
char* temp_udid = (char *)udid.UTF8String;
397397
userpref_read_pair_record(temp_udid, &pair_record);
398-
// const char *test = userpref_get_config_dir();
399398
plist_dict_set_item(pair_record, "UDID", plist_new_string(temp_udid));
400399
plist_to_xml(pair_record, &buffer, &length);
401400
//printf("PLIST STRING");
@@ -430,27 +429,6 @@ userpref_error_t userpref_read_pair_record(const char *udid, plist_t *pair_recor
430429
}
431430
return USERPREF_E_SUCCESS;
432431
}
433-
//static void print_error_message(lockdownd_error_t err, const char *udid)
434-
//{
435-
// switch (err) {
436-
// case LOCKDOWN_E_PASSWORD_PROTECTED:
437-
// fprintf(stderr, "ERROR: Could not validate with device %s because a passcode is set. Please enter the passcode on the device and retry.\n", udid);
438-
// break;
439-
// case LOCKDOWN_E_INVALID_CONF:
440-
// case LOCKDOWN_E_INVALID_HOST_ID:
441-
// fprintf(stderr, "ERROR: Device %s is not paired with this host\n", udid);
442-
// break;
443-
// case LOCKDOWN_E_PAIRING_DIALOG_RESPONSE_PENDING:
444-
// fprintf(stderr, "ERROR: Please accept the trust dialog on the screen of device %s, then attempt to pair again.\n", udid);
445-
// break;
446-
// case LOCKDOWN_E_USER_DENIED_PAIRING:
447-
// fprintf(stderr, "ERROR: Device %s said that the user denied the trust dialog.\n", udid);
448-
// break;
449-
// default:
450-
// fprintf(stderr, "ERROR: Device %s returned unhandled error code %d\n", udid, err);
451-
// break;
452-
// }
453-
//}
454432

455433
- (BOOL)writeDirectory:(NSURL *)directoryURL toDestinationURL:(NSURL *)destinationURL client:(afc_client_t)afc progress:(NSProgress *)progress error:(NSError **)error
456434
{

0 commit comments

Comments
 (0)