From 2b6ee0e1bfa4259befe5012bc6a580ece70ec31c Mon Sep 17 00:00:00 2001 From: Donn Morrison Date: Sat, 24 Feb 2001 19:49:07 +0000 Subject: [PATCH] o added 0x01 to the list of file flags. a directory listing was not showing any files if those files were 'protected' by the camera git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1608 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/kodak/dc3200/dc3200.c | 4 +++- camlibs/kodak/dc3200/library.c | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/camlibs/kodak/dc3200/dc3200.c b/camlibs/kodak/dc3200/dc3200.c index 67a1ac414..d5d5b3d36 100644 --- a/camlibs/kodak/dc3200/dc3200.c +++ b/camlibs/kodak/dc3200/dc3200.c @@ -271,7 +271,9 @@ int camera_file_list (Camera *camera, CameraList *list, char *folder) while(i < data_len) { /* files have 0x00,0x20, dirs have 0x10,0x30 */ - if(ptr_data_buff[11] != 0x00 && ptr_data_buff[11] != 0x20) { + if(ptr_data_buff[11] != 0x00 && + ptr_data_buff[11] != 0x20 && + ptr_data_buff[11] != 0x01) { ptr_data_buff += 20; i += 20; continue; diff --git a/camlibs/kodak/dc3200/library.c b/camlibs/kodak/dc3200/library.c index a14d0f255..1aeae3f37 100644 --- a/camlibs/kodak/dc3200/library.c +++ b/camlibs/kodak/dc3200/library.c @@ -23,9 +23,9 @@ #include "dc3200.h" #include "library.h" -/* -#define DEBUG -*/ + +//#define DEBUG + /* * dc3200_set_speed *