Small fix to my previous patch.

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2075 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Lutz Mueller
2001-08-25 18:38:21 +00:00
parent 3d950c6be6
commit c4ef922d40

View File

@@ -526,6 +526,8 @@ gp_camera_file_get (Camera *camera, const char *folder, const char *file,
if (strlen (file) == 0)
return (GP_ERROR_FILE_NOT_FOUND);
CHECK_RESULT (gp_file_set_type (camera_file, type));
return (camera->functions->file_get (camera, folder, file, type,
camera_file));
}