diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2009-05-06 12:32:39 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2009-05-06 12:32:39 +0000 |
commit | a8585dad78d2f588d414f437c17248444ce107ee (patch) | |
tree | 1db7d818c67e9ad5ba733dd56fa6c1a99cdd2196 | |
parent | b80e953f8e3cae72f8cd38c2d3736c6d054e66c2 (diff) | |
download | libgphoto2-a8585dad78d2f588d414f437c17248444ce107ee.tar.gz |
dump files
git-svn-id: https://svn.code.sf.net/p/gphoto/code/branches/libgphoto2-2_4/libgphoto2@12039 67ed7778-7388-44ab-90cf-0a291f65f57c
-rw-r--r-- | libgphoto2/gphoto2-filesys.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libgphoto2/gphoto2-filesys.c b/libgphoto2/gphoto2-filesys.c index ee92bfcc7..774f5aa59 100644 --- a/libgphoto2/gphoto2-filesys.c +++ b/libgphoto2/gphoto2-filesys.c @@ -755,8 +755,16 @@ gp_filesystem_append (CameraFilesystem *fs, const char *folder, static void recursive_fs_dump (CameraFilesystemFolder *folder, int depth) { CameraFilesystemFolder *f; + CameraFilesystemFile *xfile; gp_log (GP_LOG_DEBUG, "gphoto2-filesys", "%*sFolder %s", depth, " ", folder->name); + + xfile = folder->files; + while (xfile) { + gp_log (GP_LOG_DEBUG, "gphoto2-filesys", "%*s %s", depth, " ", xfile->name); + xfile = xfile->next; + } + f = folder->folders; while (f) { recursive_fs_dump (f, depth+4); |