summaryrefslogtreecommitdiff
path: root/camlibs/sq905
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2009-01-10 23:12:40 +0000
committerMarcus Meissner <marcus@jet.franken.de>2009-01-10 23:12:40 +0000
commit2b93c2856fcfa04d14abfb07902e18d9d6473570 (patch)
tree56d9425059e2d0eeed76d7d5e295ee16c735df20 /camlibs/sq905
parent81d75af17480555d796d6e9cc1afb0b426d4cb4d (diff)
downloadlibgphoto2-2b93c2856fcfa04d14abfb07902e18d9d6473570.tar.gz
disable more info.name handling
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11684 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/sq905')
-rw-r--r--camlibs/sq905/library.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/camlibs/sq905/library.c b/camlibs/sq905/library.c
index 7fc3e9158..b4291b3cb 100644
--- a/camlibs/sq905/library.c
+++ b/camlibs/sq905/library.c
@@ -223,18 +223,8 @@ static int
get_info_func (CameraFilesystem *fs, const char *folder, const char *file,
CameraFileInfo *info, void *data, GPContext *context)
{
- char path[1024];
-
- if (strlen (folder) == 1)
- snprintf (path, sizeof (path), "/%s", file);
- else
- snprintf (path, sizeof (path), "%s/%s", folder, file);
-
- info->preview.fields = GP_FILE_INFO_NONE;
- info->file.fields = GP_FILE_INFO_NAME;
-
- strcpy (info->file.name, file);
-
+ memset (info, 0, sizeof(CameraFileInfo));
+ /* FIXME: fill in some stuff? */
return (GP_OK);
}