summaryrefslogtreecommitdiff
path: root/src/camera/ImportPage.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-11-20 18:26:07 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-11-20 18:26:07 +0100
commit445dc18bf3e37044e17083fe76f76c17ceb6a0d7 (patch)
tree315f7cf2a7934b0ecf45ac2caa3c87949a90dfc4 /src/camera/ImportPage.vala
parent918f560d56129ed03f19d843ea2efd7cb4b23821 (diff)
parent394326a81d1248bbc5b1a35a8ae623c65ef6a9ea (diff)
Merge branch 'feature/upstream' into develop
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);