summaryrefslogtreecommitdiff
path: root/src/camera/ImportPage.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-11-20 18:25:30 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-11-20 18:25:30 +0100
commit87ba373882f475f02a524a120b59ea9fcccf14e5 (patch)
tree9ad3592a2dc3561b9919408869e38b07247ee9e3 /src/camera/ImportPage.vala
parentd0aaad443a88968dc61172c050084d3d9faa7602 (diff)
New upstream version 0.32.3upstream/0.32.3
Diffstat (limited to 'src/camera/ImportPage.vala')
-rw-r--r--src/camera/ImportPage.vala5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/camera/ImportPage.vala b/src/camera/ImportPage.vala
index a5d3b4e..463317b 100644
--- a/src/camera/ImportPage.vala
+++ b/src/camera/ImportPage.vala
@@ -1346,10 +1346,7 @@ public class ImportPage : CheckerboardPage {
}
}
- public static string? get_fulldir(GPhoto.Camera camera, string camera_name, int fsid, string folder) {
- if (folder.length > GPhoto.MAX_BASEDIR_LENGTH)
- return null;
-
+ public static string? get_fulldir(GPhoto.Camera camera, string camera_name, int fsid, string folder) {
string basedir = get_fs_basedir(camera, fsid);
if (basedir == null) {
debug("Unable to find base directory for %s fsid %d", camera_name, fsid);