mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Masked error returned from idevice_get_device_list() to 16 bits.
This commit is contained in:
parent
afde67471f
commit
cacc347a32
@ -1276,7 +1276,7 @@ class libiMobileDevice():
|
||||
udid = c_char * self.UDID_SIZE
|
||||
devices = POINTER(POINTER(udid))()
|
||||
device_list = []
|
||||
error = self.lib.idevice_get_device_list(byref(devices), byref(count))
|
||||
error = self.lib.idevice_get_device_list(byref(devices), byref(count)) & 0xFFFF
|
||||
if error:
|
||||
if error == -3:
|
||||
if self.verbose:
|
||||
|
Loading…
x
Reference in New Issue
Block a user