summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2009-01-25 20:30:53 +0000
committerMarcus Meissner <marcus@jet.franken.de>2009-01-25 20:30:53 +0000
commita3ee73043c5dc7c28b5717fd971917627a7214f2 (patch)
tree4249bb9b1b0debbe19c6df749f8d045bcc39a055 /tests
parentccd327a379d7885389f57f0e8304c4cce948921f (diff)
downloadlibgphoto2-a3ee73043c5dc7c28b5717fd971917627a7214f2.tar.gz
* removed CameraFileInfoFile.name, adjusted users
and callers. * added filename argument to put_file_func, set_info_noop and set_file_noop functions. adjusted all camlibs git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11773 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'tests')
-rw-r--r--tests/test-filesys.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test-filesys.c b/tests/test-filesys.c
index 531cc02d0..88c37ac78 100644
--- a/tests/test-filesys.c
+++ b/tests/test-filesys.c
@@ -75,9 +75,7 @@ get_info_func (CameraFilesystem __unused__ *fs, const char __unused__ *folder,
printf (" -> The camera will get the file info here.\n");
info->preview.fields = GP_FILE_INFO_NONE;
- info->file.fields = GP_FILE_INFO_NAME;
- strcpy (info->file.name, file);
-
+ info->file.fields = GP_FILE_INFO_NONE;
return (GP_OK);
}