diff options
author | Nikias Bassen | 2020-12-13 00:55:33 +0100 |
---|---|---|
committer | Nikias Bassen | 2020-12-13 00:55:33 +0100 |
commit | 9c3dd915ea00ce33d6dee359bcef963a586aaf05 (patch) | |
tree | 9111c69a3d27e606cb672b5ef6db0a96c111c6e3 /include/libimobiledevice/mobile_image_mounter.h | |
parent | 8c5ab80581e00c13cf852f378767a25d5df903b2 (diff) | |
download | libimobiledevice-9c3dd915ea00ce33d6dee359bcef963a586aaf05.tar.gz libimobiledevice-9c3dd915ea00ce33d6dee359bcef963a586aaf05.tar.bz2 |
idevicescreenshot: Remove unnecessary math functions to find a unique filename
Removes repeated malloc/free too, limits the maximum filenames to try to 65535
and fails if no unique filename could be found. I think this limit is VERY
generous. If there are really so many files to test against it will also cause
an unconveniently long delay, but I felt a lower limit could still be easily
reached.
Diffstat (limited to 'include/libimobiledevice/mobile_image_mounter.h')
0 files changed, 0 insertions, 0 deletions